All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0 / 2] Move NFS mount code from util-linux to nfs-utils
@ 2006-06-08 19:05 Amit Gud
  0 siblings, 0 replies; only message in thread
From: Amit Gud @ 2006-06-08 19:05 UTC (permalink / raw)
  To: Neil Brown; +Cc: nfs, Steve Dickson

Hello Neil,

Here are the patches for nfs-utils part to move the NFS mount code from 
util-linux to nfs-utils. Let me know if there are any issues.

Patch description is below:

---

Moves the NFS mount code out of util-linux to nfs-utils. The primary 
reason being ease of maintainability, and keeping util-linux away from 
all the filesystem-specifc worries.

Adds a new directory 'mount' under utils. Creates a binary mount.nfs. 
Three symbolic links are created to this binary - mount.nfs4, umount.nfs 
and umount.nfs4. It is simpler and avoids code duplication (or overhead 
of fork->exec) by keeping umount code in a single binary along with the 
mount code. Mount code uses umount to handle certain fail cases. It also 
makes sense to keep single binary for all the versions of the NFS, as 
opposed to having seperate binaries mount.nfs and mount.nfs4, since the 
code falls back to lower version if mounting with v4 fails. Adds two man 
pages - mount.nfs(8) and umount.nfs(8).

Patches are split into two parts:
[1/2] nfsmount-migration-to-nfsutils-v2.patch
[2/2] nfsmount-migration-to-nfsutils-support-v2.patch

After applying the patches, do 'sh autogen.sh' before configuring and 
compiling.

---


AG
--
May the source be with you.
http://www.cis.ksu.edu/~gud



_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-06-08 19:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-08 19:05 [PATCH 0 / 2] Move NFS mount code from util-linux to nfs-utils Amit Gud

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.