/etc/fstab created with nonexistant /dev/scd0 and /dev/scd1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udev (Ubuntu) |
Fix Released
|
Medium
|
Matt Zimmerman |
Bug Description
I just completed an install using a sounder 9 CD. When the install finished I
noticed that my cd-rom drives wouldn't auto-mount. Upon inspection I discovered
that their entries in /etc/fstab were as follows.
/dev/scd0 /media/cdrom0 udf,iso9660 ro,user,noauto 0 0
/dev/scd1 /media/cdrom1 udf,iso9660 ro,user,noauto 0 0
udev doesn't creat SCSI cd-rom devices as /dev/scd0 but instead as /dev/sr0.
Changing the lines in /etc/fstab to use the proper device file names fixe the
problem. The following lines work for me.
/dev/sr0 /media/cdrom0 udf,iso9660 ro,user,noauto 0 0
/dev/sr1 /media/cdrom1 udf,iso9660 ro,user,noauto 0 0
---output of 'scsi_info /dev/sr0'---
# scsi_info /dev/sr0
SCSI_ID="0,1,0"
HOST="0"
MODEL="PIONEER DVD-ROM DVD-304"
FW_REV="1.03"
---output of 'scsi_info /dev/sr1'---
# scsi_info /dev/sr1
SCSI_ID="0,2,0"
HOST="0"
MODEL="YAMAHA CRW8824S"
FW_REV="1.00"
The kernel documentation says:
11 block SCSI CD-ROM devices
. ..
0 = /dev/scd0 First SCSI CD-ROM
1 = /dev/scd1 Second SCSI CD-ROM
The prefix /dev/sr (instead of /dev/scd) has been deprecated.
Should we fix udev?