User mounting take 2

Bruce M Simpson bms at spc.org
Sat Apr 15 09:48:23 UTC 2006


On Sat, Apr 15, 2006 at 01:05:45AM -0400, Joe Marcus Clarke wrote:
> Finally, in testing this, I found a problem with smbfs, msdosfs, and
> ntfs relating to the statfs(2) f_flags field.  smbfs always set this to
> 0, msdosfs didn't set this at all, and ntfs set this to all flags (not
> just those visible to statfs(2)).  By fixing this, umount(8) works
> properly on relative paths to user mount points for those three file
> systems.

Very very cool. I've seen this behaviour before and it was annoying
because it meant having to sudo to do user SMB mounts in my home
directory.

Thanks muchly for doing this work.

BMS


More information about the freebsd-hackers mailing list