Skip site navigation (1)Skip section navigation (2)
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

--=-PJe8sJBT6m5pOLAoPqxk
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Sat, 2006-04-15 at 11:13 +0100, Matthew Seaman wrote:
> Joe Marcus Clarke wrote:
> >=20
> > //%u@server/homes    /home/%u/smb_home    smbfs    rw,noauto,user    0 =
0
> >=20
> > Then, a user could just run, for example:
> >=20
> > mount /home/marcus/smb_home
> >=20
> > And their SMB home directory would get mounted (~/.nsmbrc is also
> > respected).
>=20
> Nice.  Very nice.  A couple of questions though:
>=20
> 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=20



>=20
> 	Cheers,
>=20
> 	Matthew
>=20
--=20
Joe Marcus Clarke
FreeBSD GNOME Team      ::      gnome@FreeBSD.org
FreeNode / #freebsd-gnome
http://www.FreeBSD.org/gnome

--=-PJe8sJBT6m5pOLAoPqxk
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (FreeBSD)

iD8DBQBEQTb1b2iPiv4Uz4cRAtVyAJsFrDo09G4U6htkgXb1sIGPkrTCQwCfarpH
af0ZyJKSjq0Ju6Z7RzCigxQ=
=JnTu
-----END PGP SIGNATURE-----

--=-PJe8sJBT6m5pOLAoPqxk--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1145124597.43095.7.camel>