Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 20 Jan 2009 19:56:29 +0100
From:      Roland Smith <rsmith@xs4all.nl>
To:        Lowell Gilbert <freebsd-questions-local@be-well.ilk.org>
Cc:        freebsd-questions@freebsd.org, Ramiro Caso <misha_78@hotmail.com>
Subject:   Re: Cannot perform user mounts after upgrade
Message-ID:  <20090120185629.GA84722@slackbox.xs4all.nl>
In-Reply-To: <44priholzz.fsf@be-well.ilk.org>
References:  <BAY102-W171EBA042719112EF65F0AE1D30@phx.gbl> <44priholzz.fsf@be-well.ilk.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--5vNYLRcllDrimb99
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jan 20, 2009 at 01:44:48PM -0500, Lowell Gilbert wrote:
> > The mount point still has the same ownership (me) and permissions (755)=
 as
> > before. Both /etc/devfs.rules, /etc/rc.conf and /etc/sysctl.conf have t=
he
> > relevant lines for allowing user mounts, namely:
> >
> > /etc/sysctl.conf    =3D=3D>  vfs.usermount=3D1
> > /etc/devfs.rules    =3D=3D>  [localrules=3D10]
> >                          add path 'da*s*' mode 0660 group usb
> > /etc/rc.conf        =3D=3D>  devfs_system_ruleset=3D"localrules"
> >
> > I don't recall this being necessary, but I also have devd enabled in rc=
=2Econf,
> > although with no special rules for umass in devd.conf. Needless to say,=
 I belong
> > to group usb. This configuration worked before just fine. Any ideas?
>=20
> You certainly always needed permissions on a device to be able to mount
> it.  For a device already present at boot time, you would need an entry
> in devfs.rules.  For a device plugged in later, you would instead need
> devd to know how to handle it.

For stuff available at boot you should use devfs.conf. The devfs.rules
file is for devices that are plugged in later.

Roland
--=20
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)

--5vNYLRcllDrimb99
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (FreeBSD)

iEYEARECAAYFAkl2Hl0ACgkQEnfvsMMhpyUKSgCgqBxCw1VZglXlZujwrj+6cuf/
zP0AoKKEk6ChXT3R2fFbLljkIZ1yfHfB
=KNRU
-----END PGP SIGNATURE-----

--5vNYLRcllDrimb99--



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