Cannot perform user mounts after upgrade

Roland Smith rsmith at xs4all.nl
Tue Jan 20 10:56:35 PST 2009


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)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20090120/fa3bc942/attachment.pgp


More information about the freebsd-questions mailing list