cdrecord -scanbus
cat /proc/scsi/scsi
I've got my CDRW installed as a secondary slave. Normally in Linux, its located at /dev/hdd. But seeing as my DVD-ROM (secondary master) is located at /dev/cdrom (instead of the normal /dev/hdc), where could my CDRW be?
cdrecord -scanbus
cat /proc/scsi/scsi
It would be /dev/scd1.
Thanks stephen. Where would I find such information (so that in future, I can look it up myself)?
If you use the command(s):
dmesg | grep sr
grep will search through dmesg for scsi cd devices /dev/sr0, /dev/sr1, etc. on your system, from this you should be able to figure out which device is your DVD and which is your cdrw, from what you say your DVD should be 'sr0', and your cdrw 'sr1' (dmesg will just say sr0 or sr1, when in actually the devices are /dev/sr0 and /dev/sr1)
Then if you do a:
ls -al /dev/sr*
you will see that /dev/sr0 is linked to /dev/scd0 and /dev/sr1 is linked to /dev/scd1, (enough technical stuff).
What I usually do (logged in in as root) is create a cdrw device that I use instead of having to remember if my cdrw is device /dev/sr0 or /dev/sr1 etc. I do this: (assuming your cdrw is /dev/sr1)
ln -s /dev/scd1 /dev/cdrw
I also make a mountpoint /cdrw (still as root: mkdir /cdrw), then edit /etc/fstab and copy the /dev/cdrom line and change /dev/cdrom to /dev/cdrw and the mountpoint /cdrom to /cdrw, save the /etc/fstab file and then I can mount my cdrw. If you want a KDE desktop icon for your cdrw right click on the desktop and select "Create New" then "CdRom Device", name it select the "Device" tab and from the dropdown select: /dev/cdrw (/cdrw).
HTH
rock
You can also find it (as rickenbacherus indicated above) with 'cdrecord -scanbus'Originally Posted by Viro
In my case this yields:
Cdrecord 1.10 (i686-pc-linux-gnu) Copyright (C) 1995-2001 J?rg Schilling
Linux sg driver version: 3.1.24
Using libscg version 'schily-0.5'
scsibus0:
0,0,0 0) 'SONY ' 'CD-RW CRX160E ' '1.0e' 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) *
Since it tells me the cd is at "scsibus0", then I know to look for it at /dev/scd0
The search function on this site will usually get you the basics. The results page is in a very easy to use format. Personally, I use Konqueror and my middle mouse button is set to open links in a new tab. Do a search, open multiple tabs and start reading.Originally Posted by Viro
Just my 3 cents...

Samsung 860 EVO 250GB, SATA III, 2.5" Internal Solid State Drive - Black
$29.00
Samsung SSD Solid State Drive MZ-VL25120 512GB
$54.99
ON SALE TURBOLINK EVO 4TB V-HAND SSD 2.5 SATA III Internal Solid State Drive
$199.99
Toshiba THNSN81Q92CSE 1920GB SATA 2.5 Solid State Drive
$199.00
SAMSUNG SSD 512GB 500GB 480GB 256GB 250GB 240GB SSD 2.5 Solide State Drive 6Gbps
$40.99
Fanxiang 1/2/5/10Pcs 2.5'' SATA SSD Lot 1TB 2TB 4TB 512GB 256GB TLC Internal SSD
$229.98
256GB mSATA SSD DRIVE MIXED BRAND TESTED WORKING
$23.50
Crucial 2TB P3 Plus NVMe PCIe 4.0 M.2 Laptop Desktop Internal SSD CT2000P3PSSD8
$199.00
Samsung 870 EVO 500GB 2.5” SATA III Internal SSD MZ-77E500 SSD - Good Health
$59.99
Western Digital Blue 3D NAND 250GB 2.5" SATA III Internal SSD - WDS250G2B0A
$29.99