[wellylug] cdrom /hdc

Alastair Porter alastair at porter.net.nz
Tue Aug 5 22:21:58 NZST 2008


mknod is a little old these days.  Fiesty uses udev and various other
things to create devices as they are needed.
Take a look in the file
/etc/udev/rules.d/70-persistent-cd.rules

For instance, I have a line that reads
ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:00:08.0-scsi-0:0:0:0",
SYMLINK+="cdrom", ENV{GENERATED}="1"

This means that udev will create a symlink /dev/cdrom when the device
with id "pci-0000:00:08.0-scsi-0:0:0:0" is found in the system.

I'm just guessing, but if the kernel changed the access drivers from ide
to scsi, I think you'll get a whole new set of rules pointing at
'cdrom2', etc.  I fixed this problem on my system a few months ago.
If you want, paste the contents of 70-persistent-cd.rules and we can
see where to go from there.

Alastair

On Tue, 2008-08-05 at 17:04 +1000, Dr Edouard Charlaron wrote:
> Hello Peter
> 
> Thanks a lot ...
> 
> Of course .... as soon as I sent the mail ... damn.... fiat lux !
> Ok I have sg0
> 
> crw-rw---- 1 root root 21, 0 2008-08-05 18:12 /dev/sg0
> 
> dmesg gives :
> [   27.155677] sd 0:0:0:0: Attached scsi generic sg0 type 0
> 
> and no ref into the device.map ot menu.lst
> 
> so ..now the trouble is how to fix this
> Cheers
> E
> 
> 



More information about the wellylug mailing list