Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Sep 2004 13:00:18 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        Radek Kozlowski <radek@raadradd.com>
Cc:        freebsd-mobile@FreeBSD.org
Subject:   Re: FreeBSD 5.3-BETA6 available 
Message-ID:  <20040928200019.021DA5D0A@ptavv.es.net>
In-Reply-To: Your message of "Tue, 28 Sep 2004 21:24:24 %2B0200." <20040928192424.GH62265@werd> 

next in thread | previous in thread | raw e-mail | index | archive | help
> Date: Tue, 28 Sep 2004 21:24:24 +0200
> From: Radek Kozlowski <radek@raadradd.com>
> 
> On Tue, Sep 28, 2004 at 10:01:31AM -0700, Kevin Oberman wrote:
> > > > 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
> > 
> > I think you missed my point on the creation of symlinks. I have them in
> > devfs.conf, but those operations are only done at boot time. If I have
> > no DVD in my system at boot time and add one later, I need to manually
> > create the symlinks. 
> 
> Well, for me it's different and I just checked on my system to verify it
> - dvd and cdrom symlinks were created at boot time even though there was
> no media inside, and continue to exist after mounting and umounting a
> cdrom.

I'm afraid that you're still missing the point. I'm not talking about
media. The DRIVE is not present at boot time. No /dev/acd0 to point the
symlink to. I insert the drive and use atacontrol(8) to connect and
/dev/acd0 appear, but no /dev/cdrom. In some platforms ATA disk drives
are just as removable as USB devices.

That's why I thought that devd might be the right approach.
-- 
R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634



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