public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Collins Richey <erichey2@home.com>
To: gentoo-dev@cvs.gentoo.org
Subject: Re: [gentoo-dev] devfs - scd0&1 devices
Date: Fri Jul 13 05:14:02 2001	[thread overview]
Message-ID: <20010713052258.72bc38e7.erichey2@home.com> (raw)
In-Reply-To: <20010712212906.3b1564e7.erichey2@home.com>

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



      reply	other threads:[~2001-07-13 11:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010713052258.72bc38e7.erichey2@home.com \
    --to=erichey2@home.com \
    --cc=gentoo-dev@cvs.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox