bash-2.05b# cdrecord -scanbus Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling cdrecord: No such file or directory. Cannot open '/dev/pg*'. Cannot open SCSI driver. cdrecord: For possible targets try 'cdrecord -scanbus'. Make sure you are root. cdrecord: For possible transport specifiers try 'cdrecord dev=help'. bash-2.05b#
# Linux bootable partition config begins image = /boot/vmlinuz root = /dev/hda7 label = Slackware read-only # Non-UMSDOS filesystems should be mounted read-only for checking append="hdc=ide-scsi" # Linux bootable partition config ends
bash-2.05b# ls -l /dev/cdrom lrwxrwxrwx 1 root root 8 Mar 5 15:13 /dev/cdrom -> /dev/hdc bash-2.05b# cd /dev && rm cdrom && ln -s scd0 cdrom bash-2.05b# ls -l /dev/cdrom lrwxrwxrwx 1 root root 4 Mar 14 20:03 /dev/cdrom ->scd0
bash-2.05b# cdrecord -scanbus
Cdrecord 2.00.3 (i686-pc-linux-gnu) Copyright (C) 1995-2002 Jörg Schilling
Linux sg driver version: 3.1.25
Using libscg version 'schily-0.7'
scsibus0:
0,0,0 0) 'MATSHITA' 'UJ-810 ' 'C102' Removable CD-ROM
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
bash-2.05b#
cdrecord -v speed=2 dev=0,0,0 -data
I like making cdrecord available to ordinary users so ...
bash-2.05b# ls -l /usr/bin/cdrecord -rwxr-xr-x 1 root bin 279324 Aug 17 2003 /usr/bin/cdrecord bash-2.05b# chown root.root /usr/bin/cdrecord bash-2.05b# chmod 4111 /usr/bin/cdrecord bash-2.05b# ls -l /usr/bin/cdrecord ---s--x--x 1 root root 279324 Aug 17 2003 /usr/bin/cdrecord bash-2.05b#