In article <20130629195840.GB7272@ThinkPad>, Jan Kryl <[email protected]> wrote: >mount protocol has been always handled in userland (except >diskless boot). Moving just unmount RPC call to kernel wouldn't >be systematic. There should be an interface to obtain mount protocol >transport (and other NFS options) from kernel and then umount could >use this information to properly unmount filesystem. Linux seems to >get this information from /etc/mtab. FreeBSD and Solaris suffer from >the same problem as NetBSD. >
This has been fixed on head. We have MNT_GETARGS and that returns the information needed. christos
