On 03/05/2012 09:47 AM, Malahal Naineni wrote: > Steve Dickson [SteveD@xxxxxxxxxx] wrote: >> >>> 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... >>> >> Personally I think it simpler to just normalize the paths before >> writing it to the mtab verses open up and searching /proc/mounts >> esp on client where there is large amount of mounts... > > We always open up and search /proc/mounts today for the matching > mountpoint to know the exact version of nfs, right? Yes, we open up /proc/mount to get the authoritative version. > The umount time normalization is going to cost us? Nothing... but I thought it might be easier to do the normalization after a successful v4 iff the the mtab is writable. > Or you proposing a patch that is going to avoid opening up /proc/mounts altogether? No... umount has to open /proc/mounts... steved. -- To unsubscribe from this list: send the line "unsubscribe linux-nfs" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html