Date: Sat, 15 Apr 2006 14:09:57 -0400 From: Joe Marcus Clarke <marcus@FreeBSD.org> To: Matthew Seaman <m.seaman@infracaninophile.co.uk> Cc: hackers@FreeBSD.org Subject: Re: User mounting take 2 Message-ID: <1145124597.43095.7.camel@shumai.marcuscom.com> In-Reply-To: <4440C749.1040702@infracaninophile.co.uk> References: <1145077545.83050.15.camel@shumai.marcuscom.com> <4440C749.1040702@infracaninophile.co.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Sat, 2006-04-15 at 11:13 +0100, Matthew Seaman wrote: > Joe Marcus Clarke wrote: > > > > //%u@server/homes /home/%u/smb_home smbfs rw,noauto,user 0 0 > > > > Then, a user could just run, for example: > > > > mount /home/marcus/smb_home > > > > And their SMB home directory would get mounted (~/.nsmbrc is also > > respected). > > Nice. Very nice. A couple of questions though: > > What happens if the 'noauto' flag is omitted? I thought about this for a while. I considered adding a "glob" flag similar to noauto that would have to be present in order to do wilcarding. I decided not to do it, and force all wilcarded entries to be noauto. > Or the 'user' flag? If the "user" flag is omitted, then users will not be able to mount those file systems. > Should %u > or wild cards work for root? Yes. > Should they work at boot time (ie. when > 'mount -a' is run)? At this point, no. Wildcard expansion will not be done for -a. Such mounts will fail. Joe > > Cheers, > > Matthew > -- Joe Marcus Clarke FreeBSD GNOME Team :: gnome@FreeBSD.org FreeNode / #freebsd-gnome http://www.FreeBSD.org/gnome [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEQTb1b2iPiv4Uz4cRAtVyAJsFrDo09G4U6htkgXb1sIGPkrTCQwCfarpH af0ZyJKSjq0Ju6Z7RzCigxQ= =JnTu -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1145124597.43095.7.camel>
