Bill Jonas on Tue, 21 May 2002 14:24:52 -0400 |
On Tue, May 21, 2002 at 01:56:48PM -0400, Kevin Brosius wrote: > Are you using a dvd+rw drive? CD-RW. But observe some lines in my /dev/MAKEDEV: case "$1" in ... sr) echo scd ;; ... for arg do case $arg in ... sr|scd|scd-all) major=`Major sr 11` || continue for unit in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 do makedev scd$unit b $major $unit $cdrom symlink sr$unit scd$unit done ;; ... scd[0-9]|scd[0-1][0-9]) major=`Major sr 11` || continue unit=`suffix $arg scd` makedev scd$unit b $major $unit $cdrom ln -f scd$unit sr$unit ;; This is the latest Debian woody. Note the /usr/src/linux/Documentation/devices.txt (this is from the devices.txt for 2.4.18): block SCSI CD-ROM devices 0 = /dev/sr0 First SCSI CD-ROM 1 = /dev/sr1 Second SCSI CD-ROM ... The prefix /dev/scd instead of /dev/sr has been used as well, and might make more sense. ... It is recommended that these links exist on all systems: ... /dev/scd? sr? hard Alternate SCSI CD-ROM name Note also this paragraph, from the same file: For SCSI devices, /dev/tape and /dev/cdrom should point to the ``cooked'' devices (/dev/st* and /dev/sr*, respectively), whereas /dev/cdwriter and /dev/scanner should point to the appropriate generic SCSI devices (/dev/sg*). Dunno if that helps or not. -- Bill Jonas * bill@billjonas.com * http://www.billjonas.com/ "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." -- Benjamin Franklin Attachment:
pgpfGWZadqtfP.pgp
|
|