linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/1] Normalized path names on umounts (take 2)
@ 2012-03-05 19:36 Steve Dickson
  2012-03-05 19:36 ` [PATCH 1/1] umount.nfs: normalize path names during umounts Steve Dickson
  2012-03-05 19:37 ` [PATCH 0/1] Normalized path names on umounts (take 2) Chuck Lever
  0 siblings, 2 replies; 15+ messages in thread
From: Steve Dickson @ 2012-03-05 19:36 UTC (permalink / raw)
  To: Linux NFS Mailing list

There is a second attempted at making paths in the
device names that have multiple slashes or no slash
at all unmount-able, without breaking any APIs.

Due to the way entries are written to both the /etc/mtab
and /proc/mounts, multiple slash have to be stripped and
leading slash have to be added (when they don't exist) 
on v4 mounts. With v3 mounts this normalization can 
not occur since those entries are always in the same format.

Finally, this normalization only needs to happen
when the mtab and /proc/mounts are not the same file.

Steve Dickson (1):
  umount.nfs: normalize path names during umounts.

 utils/mount/nfsumount.c |   64 +++++++++++++++++++++++++++++++++++++++++++++-
 1 files changed, 62 insertions(+), 2 deletions(-)


^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2012-03-06  2:38 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-05 19:36 [PATCH 0/1] Normalized path names on umounts (take 2) Steve Dickson
2012-03-05 19:36 ` [PATCH 1/1] umount.nfs: normalize path names during umounts Steve Dickson
2012-03-05 21:20   ` Malahal Naineni
2012-03-05 21:30     ` Malahal Naineni
2012-03-06  0:28       ` Steve Dickson
2012-03-06  0:27     ` Steve Dickson
2012-03-06  0:31       ` Myklebust, Trond
2012-03-06  0:53         ` Steve Dickson
2012-03-06  1:04           ` Myklebust, Trond
2012-03-06  1:35             ` Steve Dickson
2012-03-06  1:52               ` Jim Rees
2012-03-06  2:25                 ` Malahal Naineni
2012-03-06  2:38                   ` Steve Dickson
2012-03-05 19:37 ` [PATCH 0/1] Normalized path names on umounts (take 2) Chuck Lever
2012-03-05 19:44   ` Steve Dickson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).