Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 2004 01:13:47 +0200
From:      Radek Kozlowski <radek@raadradd.com>
To:        Kevin Oberman <oberman@es.net>
Cc:        freebsd-mobile@FreeBSD.org
Subject:   Re: FreeBSD 5.3-BETA6 available
Message-ID:  <20040927231347.GZ62265@werd>
In-Reply-To: <20040927222937.F15EF5D09@ptavv.es.net>
References:  <20040927201849.GX62265@werd> <20040927222937.F15EF5D09@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Sep 27, 2004 at 03:29:37PM -0700, Kevin Oberman wrote:
> > Put something like this in your devfs.rules:
> > 
> > [system=10]
> > add path uscanner0 mode 660
> > 
> > and add the following line to rc.conf:
> > 
> > devfs_system_ruleset="system"
> 
> Thanks for the tip. But where is this documented? I can't find a
> reference to devfs.rules or to the devfs_system_ruleset variable. 

Well, I can't find it in any man page, so the only pointers are
/etc/defaults/devfs.rules and what's in /etc/defaults/rc.conf:

raadradd@ddardaar:~> grep ^devfs /etc/defaults/rc.conf
devfs_rulesets="/etc/defaults/devfs.rules /etc/devfs.rules" # Files containing
devfs_system_ruleset="" # The name of a ruleset to apply to /dev
devfs_set_rulesets=""   # A list of /mount/dev=ruleset_name settings to

> And, do you know if devfs.rules can create links such as are created
> by devfs.conf? I want to have /dev/cdrom and /dev/dvd symlinked to my
> DVD drive when I attach it.

I think devfs.conf is the right place for it (assuming /dev/acd0 is your
dvd drive):

link	acd0	dvd
link	acd0	cdrom

Cheers,

-Radek



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