From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.4 required=5.0 tests=DATE_IN_PAST_06_12,DMARC_NONE, INVALID_DATE,MAILING_LIST_MULTI,NICE_REPLY_A autolearn=no autolearn_force=no version=4.0.0 Received: from femail10.sdc1.sfba.home.com ([24.0.95.106]) by cvs.gentoo.org with esmtp (Exim 3.30 #1) id 15L0sv-0005Qk-00 for gentoo-dev@cvs.gentoo.org; Fri, 13 Jul 2001 05:13:26 -0600 Received: from k68pc2.home.com ([24.255.149.198]) by femail10.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id <20010713111225.GMWW20717.femail10.sdc1.sfba.home.com@k68pc2.home.com> for ; Fri, 13 Jul 2001 04:12:25 -0700 From: Collins Richey To: gentoo-dev@cvs.gentoo.org Subject: Re: [gentoo-dev] devfs - scd0&1 devices Message-Id: <20010713052258.72bc38e7.erichey2@home.com> In-Reply-To: <20010712212906.3b1564e7.erichey2@home.com> References: <20010712201906.01a1491c.erichey2@home.com> <20010712203325.A18605@cvs.gentoo.org> <20010712212906.3b1564e7.erichey2@home.com> X-Mailer: Sylpheed version 0.4.99 (GTK+ 1.2.10; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Fri Jul 13 05:14:02 2001 X-Original-Date: Fri, 13 Jul 2001 05:22:58 +0000 X-Archives-Salt: 451a899c-1ecf-4210-b335-07e7a13cd26e X-Archives-Hash: 3bc1163da8e322092bd67958e2123f5b On Thu, 12 Jul 2001 21:29:06 +0000 Collins Richey wrote: > On Thu, 12 Jul 2001 20:33:25 -0600 Daniel Robbins > 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