On Sun, 2012-03-04 at 19:03 -0500, Steve Dickson wrote: > > On 03/04/2012 06:26 PM, Myklebust, Trond wrote: > > On Sun, 2012-03-04 at 17:58 -0500, Steve Dickson wrote: > >> So to restate... this normalizing of the path names (aka striping > >> multiple slashes or added the leading slash) only need to occur on > >> (successful) v4 mounts... Although the former would not be an > >> problem with v2/v3 mounts but its not needed.... > > > > Normalising for v4 only is OK as far as I'm concerned, but as an > > alternative: is there any reason why you can't just grab the path from > > '/proc/mounts'? > > > Well in some distros /etc/mtab is symbolically linked to /proc/mounts > so this problem does not exist. But from what I've been told not > all distros do that. Plus being backward compatible with older > release of distro is a good thing... IMHO... Which is why I'm asking you if you can't copy from /proc/mounts. Distros which already have a symlink betweek /etc/mtab and /proc/mounts don't have any of these problems... -- Trond Myklebust Linux NFS client maintainer NetApp Trond.Myklebust@xxxxxxxxxx www.netapp.com ��.n��������+%������w��{.n�����{��w���jg��������ݢj����G�������j:+v���w�m������w�������h�����٥