Results 1 to 7 of 7

Thread: Where is my CDRW?

  1. #1
    Member registered user
    Join Date
    Mar 2003
    Posts
    95

    Where is my CDRW?

    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?

  2. #2
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    cdrecord -scanbus

    cat /proc/scsi/scsi

  3. #3
    Senior Member registered user
    Join Date
    Feb 2003
    Location
    Nova Scotia, Canada
    Posts
    2,479
    It would be /dev/scd1.

  4. #4
    Member registered user
    Join Date
    Mar 2003
    Posts
    95
    Thanks stephen. Where would I find such information (so that in future, I can look it up myself)?

  5. #5
    Senior Member registered user
    Join Date
    Jan 2003
    Location
    Podunk, Idaho, USA
    Posts
    470
    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

  6. #6
    Senior Member registered user
    Join Date
    Nov 2002
    Posts
    1,353
    Quote Originally Posted by Viro
    Thanks stephen. Where would I find such information (so that in future, I can look it up myself)?
    You can also find it (as rickenbacherus indicated above) with 'cdrecord -scanbus'

    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

  7. #7
    Senior Member registered user
    Join Date
    Mar 2003
    Location
    colorado springs, colorado
    Posts
    1,933
    Quote Originally Posted by Viro
    Thanks stephen. Where would I find such information (so that in future, I can look it up myself)?
    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.

    Just my 3 cents...

Similar Threads

  1. problem with cdrw
    By ibrewale in forum Hardware & Booting
    Replies: 3
    Last Post: 12-10-2004, 04:44 AM
  2. CDR -v- CDRW
    By keithb in forum General Support
    Replies: 6
    Last Post: 04-26-2004, 08:49 AM
  3. Does it fit on CDRW?
    By markusha in forum General Support
    Replies: 8
    Last Post: 04-01-2004, 01:27 PM
  4. backpack cdrw
    By scocrys in forum Hardware & Booting
    Replies: 5
    Last Post: 11-22-2003, 09:25 PM
  5. Fstab for CDRW?
    By wfb in forum Hardware & Booting
    Replies: 1
    Last Post: 09-04-2003, 09:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 256GB 2x10G SFP+ 2x2200W picture

Supermicro 4U 4x Nvidia GPU AI Server 3.8Ghz 8-Core 256GB 2x10G SFP+ 2x2200W

$3472.00



Supermicro 4U 4x Nvidia GPU AI Server 2.6Ghz 8-Core 256GB 2x10G SFP+ 2x2200W picture

Supermicro 4U 4x Nvidia GPU AI Server 2.6Ghz 8-Core 256GB 2x10G SFP+ 2x2200W

$1382.00



Supermicro 4U 4x Nvidia GPU AI Server 3.6Ghz 8-Core 256GB 2x10G SFP+ 2x2200W picture

Supermicro 4U 4x Nvidia GPU AI Server 3.6Ghz 8-Core 256GB 2x10G SFP+ 2x2200W

$1732.00



Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ... picture

Intel - Core i9-13900K 13th Gen 24 cores 8 P-cores + 16 E-cores 36M Cache, 3 ...

$689.99



Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4... picture

Intel - Core i7-13700K 13th Gen 16 cores 8 P-cores + 8 E-cores 30M Cache, 3.4...

$489.99



Apple Mac Pro Processor Tray 5,1 2010 2012 2.4ghz 8 core picture

Apple Mac Pro Processor Tray 5,1 2010 2012 2.4ghz 8 core

$79.99



Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc... picture

Intel - Core i9-12900K Desktop Processor 16 (8P+8E) Cores up to 5.2 GHz Unloc...

$619.99



Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc... picture

Intel - Core i7-12700K Desktop Processor 12 (8P+4E) Cores up to 5.0 GHz Unloc...

$419.99



Dell Optiplex 5060 SFF 8th Gen Core i7 3.2GHZ 16GB 512GB Win 11 Pro picture

Dell Optiplex 5060 SFF 8th Gen Core i7 3.2GHZ 16GB 512GB Win 11 Pro

$249.00



HP ProDesk 600 G3 Mini Intel i5-7500T 2.70 GHz 8GB RAM 256GB SSD No COA OS picture

HP ProDesk 600 G3 Mini Intel i5-7500T 2.70 GHz 8GB RAM 256GB SSD No COA OS

$44.64