public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] devfs - scd0&1 devices
@ 2001-07-12 20:10 Collins Richey
  2001-07-12 20:34 ` Daniel Robbins
  0 siblings, 1 reply; 4+ messages in thread
From: Collins Richey @ 2001-07-12 20:10 UTC (permalink / raw
  To: gentoo

I've got devfs working almost the way I want it.  The stock
/etc/devfsd.conf retains the permissions I've set for sound devices, but
how can I make it hang onto /dev/scd0&1 for my ide-scsi cdroms?  Right now
I have to do MAKEDEV each time I want to use them; they disappear with
each boot.

-- 
Collins Richey
Denver Area
Gentoo_rc5 XFCE



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] devfs - scd0&1 devices
  2001-07-12 20:10 [gentoo-dev] devfs - scd0&1 devices Collins Richey
@ 2001-07-12 20:34 ` Daniel Robbins
  2001-07-12 21:20   ` Collins Richey
  0 siblings, 1 reply; 4+ messages in thread
From: Daniel Robbins @ 2001-07-12 20:34 UTC (permalink / raw
  To: gentoo-dev

On Thu, Jul 12, 2001 at 08:19:06PM +0000, Collins Richey wrote:
> I've got devfs working almost the way I want it.  The stock
> /etc/devfsd.conf retains the permissions I've set for sound devices, but
> how can I make it hang onto /dev/scd0&1 for my ide-scsi cdroms?  Right now
> I have to do MAKEDEV each time I want to use them; they disappear with
> each boot.

Use /dev/cdroms/cdrom0 and 1 instead.
If you create new devices of the same type somewhere else in /dev, they will
get backed up and restored as long as devfs is running.

-- 
Daniel Robbins					<drobbins@gentoo.org>
President/CEO					http://www.gentoo.org 
Gentoo Technologies, Inc.			



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] devfs - scd0&1 devices
  2001-07-12 20:34 ` Daniel Robbins
@ 2001-07-12 21:20   ` Collins Richey
  2001-07-13  5:14     ` Collins Richey
  0 siblings, 1 reply; 4+ messages in thread
From: Collins Richey @ 2001-07-12 21:20 UTC (permalink / raw
  To: gentoo-dev

On Thu, 12 Jul 2001 20:33:25 -0600 Daniel Robbins <drobbins@gentoo.org>
wrote:

> On Thu, Jul 12, 2001 at 08:19:06PM +0000, Collins Richey wrote:
> > I've got devfs working almost the way I want it.  The stock
> > /etc/devfsd.conf retains the permissions I've set for sound devices,
> but
> > how can I make it hang onto /dev/scd0&1 for my ide-scsi cdroms?  Right
> now
> > I have to do MAKEDEV each time I want to use them; they disappear with
> > each boot.
> 
> Use /dev/cdroms/cdrom0 and 1 instead.
> If you create new devices of the same type somewhere else in /dev, they
> will
> get backed up and restored as long as devfs is running.
> 

Thanks.  Interestingly enough, devfs generates them on my system as
/dev/cdroms/cdrom4 and cdrom6 !!!

-- 
Collins Richey
Denver Area
Gentoo_rc5 XFCE



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [gentoo-dev] devfs - scd0&1 devices
  2001-07-12 21:20   ` Collins Richey
@ 2001-07-13  5:14     ` Collins Richey
  0 siblings, 0 replies; 4+ messages in thread
From: Collins Richey @ 2001-07-13  5:14 UTC (permalink / raw
  To: gentoo-dev

On Thu, 12 Jul 2001 21:29:06 +0000 Collins Richey <erichey2@home.com>
wrote:

> On Thu, 12 Jul 2001 20:33:25 -0600 Daniel Robbins <drobbins@gentoo.org>
> wrote:
> 
> > On Thu, Jul 12, 2001 at 08:19:06PM +0000, Collins Richey wrote:
> > > I've got devfs working almost the way I want it.  The stock
> > > /etc/devfsd.conf retains the permissions I've set for sound devices,
> > but
> > > how can I make it hang onto /dev/scd0&1 for my ide-scsi cdroms? 
> Right
> > now
> > > I have to do MAKEDEV each time I want to use them; they disappear
> with
> > > each boot.
> > 
> > Use /dev/cdroms/cdrom0 and 1 instead.
> > If you create new devices of the same type somewhere else in /dev,
> they
> > will
> > get backed up and restored as long as devfs is running.
> > 
> 
> Thanks.  Interestingly enough, devfs generates them on my system as
> /dev/cdroms/cdrom4 and cdrom6 !!!
> 

I've just learned from a user on another group that devfs will add the
/dev/srn entries (expected by some applications) if you modprobe sr_mod,
so I've added sr_mod to my /etc/rc.d/config/modules.

both /dev/cdromn and /dev/srn are actually symlinks, ie
/dev/cdrom4 -> /scsi/host0/bus0/target0/lun0/cd
/dev/cdrom6 ->  ...                         /target1/ ...

if only ide-scsi is modprobed, cdrom4 and cdrom6 are generated.  If sr_mod
is also present, cdrom0 and cdrom4 and sr0 and sr1 are generated.

-- 
Collins Richey
Denver Area
Gentoo_rc5 XFCE



^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2001-07-13 11:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-07-12 20:10 [gentoo-dev] devfs - scd0&1 devices Collins Richey
2001-07-12 20:34 ` Daniel Robbins
2001-07-12 21:20   ` Collins Richey
2001-07-13  5:14     ` Collins Richey

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox