On Fri, 14 Dec 2001, Michal Bukovjan wrote:

> Hello list,
>
> sorry to continue here, but I lost an email with the original thread :-(
> The thread was about devfs and /dev/hd* devices
>
> Thanks Andrej for response.
>
> What I found (I call /dev/hdc my first CDROM, /dev/hdd my second CDROM)
>
> 1) My /dev/hdd (my second CDROM) exists and can be mounted, however,
> /etc/fstab generated when Mandrake was installed points to /dev/cdrom2
> (symlink to cdroms/cdrom2)
> 2) All /dev/cdroms/cdrom* point to the same physical drive (dev/hdc -
> first one). This is plain wrong. I guess the following should be correct:
>     a) Since I have two CDROMs, only /dev/cdroms/cdrom[12] or
> /dev/cdroms/cdrom[01] should exist, pointing to /dev/hdc and /dev/hdd in
> my case (NOT to the same first drive)
>     b) Garbage like /dev/cdroms/cdrom6, /dev/cdroms/cdrom23 should not
> exist at all (currently all this garbage tries to access the first drive
> = /dev/cdroms/cdrom1
> 3) /dev/hdc does not exists. As Andrej pointed out, this is probably due
> to SCSI emulation - however, without devfs, both /dev/hdc and /dev/sg*
> nodes exist and work together
> 4) I absolutely agree about those persistent symlinks - I really liked
> my /dev/dvd, but am not sure where to put it in /etc/devfsd.conf! (I'll
> try to find out)
>
I have problems with the links of my cdburner as well. I switched it to
master and would like ti to be recognaized as /dev/cdrom instead of
/dev/cdrom1. My other cdrom is not in use and i will remove it soon as it is
borked :( The current links are /dev/cdrom -> /dev/cdroms/cdrom0 ->
/dev/ide/host0/bus1/target1/lun0/cd and /dev/cdrom1 -> /dev/cdroms/cdrom1
-> /dev/scsi/host0/bus0/target0/lun0/cd. Basically what I want to do is
change /dev/cdrom to the same links /dev/cdrom1 has as my master (/dev/hdc
scsi emulated) should be /dev/cdrom. But when I try to change the links I
get permission denied (as root of course). It pisses me off because b4
devfs this would have been a joke to do. I used to set up my burner
manually making the links needed.

-- 
  . ---
  |o_o |
  |:_/ |   Give Micro$oft the Bird!!!!
 //   \ \  Use Linux!!!!
(|     | )
/'\_   _/`\
\___)=(___/
___________________________________________________

"Software is like sex: It's better when it's free."
           --- Linus Torvalds
Chad Young
Registered Linux User #195191
@ http://counter.li.org


Reply via email to