Hi,
Just a question about those symlinks created by udev i think :
Is it important to have them ?
Does it mean that my dvd readers/burners will work better if i have them ?
I went back to Linux a few weeks ago and the last week i realized /dev/cdrom was missing. I thought my drives were not recognized by the kernel so i tried to add several PATA and SCSI drivers into my kernel, i found that the "JMicron" driver was used to make my dvd burner recognized (but not my other dvd drive, my everyday cd/dvd drive).
I wonder what's the link between my dvd rw of brand "Nec" and JMicron, but anyway i realized that my both cdrom drives were present by the files /dev/sr0 and /dev/sr1 (i was first looking for /dev/hdc or something).
There's only /dev/cdrom, /dev/dvdrom, /dev/cdrw and /dev/dvdrw pointing to /dev/sr1 (my dvd writer)
Code:
$ ls /dev -l | grep sr
lrwxrwxrwx 1 root root 3 août 14 19:24 cdrom -> sr1
lrwxrwxrwx 1 root root 3 août 14 19:24 cdrw -> sr1
lrwxrwxrwx 1 root root 3 août 14 19:24 dvd -> sr1
lrwxrwxrwx 1 root root 3 août 14 19:24 dvdrw -> sr1
srw-rw-rw- 1 root root 0 août 14 17:24 log
lrwxrwxrwx 1 root root 3 août 14 19:24 scd0 -> sr0
lrwxrwxrwx 1 root root 3 août 14 19:24 scd1 -> sr1
brw-rw---- 1 root cdrom 11, 0 août 14 19:24 sr0
brw-rw---- 1 root cdrom 11, 1 août 14 19:24 sr1
I use /dev/scd0 to mount a cdrom and it works fine, but as i asked in the beginning, i'm hoping there's no difference when a drive is detected and when it's not detected.
2 lines from dmesg
Code:
scsi 4:0:0:0: CD-ROM TEAC DV-516E 2.01 PQ: 0 ANSI: 5
scsi 4:0:1:0: CD-ROM _NEC DVD_RW ND-3520A 1.04 PQ: 0 ANSI: 5
dmesg about "sr"
Code:
$ dmesg | grep sr
Driver 'sr' needs updating - please use bus_type methods
sr0: scsi3-mmc drive: 270x/48x cd/rw xa/form2 cdda tray
sr 4:0:0:0: Attached scsi CD-ROM sr0
sr 4:0:0:0: Attached scsi generic sg2 type 5
sr1: scsi3-mmc drive: 48x/48x writer cd/rw xa/form2 cdda tray
sr 4:0:1:0: Attached scsi CD-ROM sr1
sr 4:0:1:0: Attached scsi generic sg3 type 5
Notes:
- Kernel 2.6.26
- My cdrom drives are PATA not SATA (but my hard disk drives are SATA)
- Gentoo
- 64bit system