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>

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

[-- Attachment #1 --]
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 the
> > relevant lines for allowing user mounts, namely:
> >
> > /etc/sysctl.conf    ==>  vfs.usermount=1
> > /etc/devfs.rules    ==>  [localrules=10]
> >                          add path 'da*s*' mode 0660 group usb
> > /etc/rc.conf        ==>  devfs_system_ruleset="localrules"
> >
> > I don't recall this being necessary, but I also have devd enabled in rc.conf,
> > 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?
> 
> 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
-- 
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)

[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (FreeBSD)

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

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