devfs
[Top] [All Lists]

Re: Another /dev/cdrom question

To: devfs@xxxxxxxxxxx
Subject: Re: Another /dev/cdrom question
From: Miguel Angelo Rozsas <miguel@xxxxxxxxxxxxxxxx>
Date: 20 May 2002 16:20:46 -0300
In-reply-to: <F124A4236064D211859A0008C74CE35D027E33C5@usa0815ms1.eng.mc.xerox.com>
References: <F124A4236064D211859A0008C74CE35D027E33C5@usa0815ms1.eng.mc.xerox.com>
Sender: owner-devfs@xxxxxxxxxxx
On Mon, 2002-05-20 at 15:38, Luo, Ling wrote:
> I found that the /dev/cdroms and symbolic link /dev/cdrom do not appear
> under /dev until I cd into /dev/discs or /dev/ide.
> Is there a way to make the two entries appear under /dev automatically after
> reboot? 
> 

I am having a similar problem with ZIP disks not inserted on zip drive
at boot time. The problem is /dev/hdc and /dev/hdc4 aren't available
even after I insert a disk on drive.
.
I have uncommented the following lines on /etc/devfs.conf  and got an
error when devfsd starts.


IDE NEWCOMPAT   /dev/ide/hd/* names
LOOKUP          ^(ide/hd/c[0-9]+b[0-9]+t[0-9]+u[0-9]+)p[0-9]+$  EXECUTE /bin/dd
if=$mntpnt/\1 of=/dev/null count=1
IDE OLDCOMPAT   /dev/hd?? names
LOOKUP          ^(hd[a-z])[0-9]+$       EXECUTE /bin/dd if=$mntpnt/\1 
of=/dev/null
count=1

Error message at boot time:

Bad WHEN in config line: "IDE NEWCOMPAT /dev/ide/hd/* names"

My system is a RH 7.2 kernel 2.4.18, devfsd 1.3.25, internal IDE ZIP
250.

If there is a disk at boot time, the device drive exists on

/dev/ide/host0/bus1/target0/lun0/{disc,part4} and /dev/hdc[4]


Any hints ?

regards,






<Prev in Thread] Current Thread [Next in Thread>