Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Aug 2004 12:39:57 -0400
From:      Anish Mistry <mistry.7@osu.edu>
To:        des@des.no (Dag-Erling =?iso-8859-1?q?Sm=F8rgrav?=)
Cc:        freebsd-current@freebsd.org
Subject:   Re: devfs rules not applied on reattach
Message-ID:  <200408241240.08060.mistry.7@osu.edu>
In-Reply-To: <xzpr7pwirwl.fsf@dwp.des.no>
References:  <200408240056.42066.mistry.7@osu.edu> <xzpr7pwirwl.fsf@dwp.des.no>

next in thread | previous in thread | raw e-mail | index | archive | help
=2D----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 24 August 2004 09:31 am, you wrote:
> Anish Mistry <mistry.7@osu.edu> writes:
> > Not sure if this is a bug or not, but my understanding of device rules
> > that are placed in /etc/devfs.conf are supposed to be applied when a
> > device is attached. ie.
> > perm da0  0666
> > perm da0s1 0666
> > perm da1  0666
> > perm da1s1 0666
> > perm da2  0666
> > perm da2s1 0666
> > perm da3  0666
> > perm da3s1 0666
>
> /etc/devfs.conf is only applied at boot and is mostly useless.
>
> What you really want is to put something like the following in
>
> /etc/devfs.rules:
> > [system=3D10]
> > add path 'da*' mode 0660
>
> (see devfs(8) for details about the syntax)
>
> and add the following line to /etc/rc.conf:
> > devfs_system_ruleset=3D"system"
Thanks, this works.
>
> Someone[tm] should document this somewhere.
Yes, definitely before 5.3 since I'm sure this will come up for many people.
>
> DES

=2D --=20
Anish Mistry
=2D----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFBK29lxqA5ziudZT0RAs0OAJoCm/Z8qX4VArl3CpfcKjUaZrhtMQCgvK1N
LI/jiaNqJAAdqCyAM+YqJ78=3D
=3DSe3/
=2D----END PGP SIGNATURE-----



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