Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux? |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
10-29-2003, 09:31 AM
|
#1
|
Member
Registered: Aug 2003
Posts: 253
Rep:
|
re: how do I mount my cdrom-which is a cdrw
Hello All:
What is the filesystem for /dev/scd0? It's for a cdrw:
I'd like to mount it and then automount it so I don't have to go through this again.
Thanks,
ergo_sum
|
|
|
10-29-2003, 09:36 AM
|
#2
|
Member
Registered: Nov 2002
Posts: 668
Rep:
|
filesystem is iso9660
mount /dev/scd0 -t iso9660 /mnt/wherever
If you add an entry for the drive in you /etc/fstab then you won't need to type it out every time. simply
mount /mnt/wherever
see man fstab
|
|
|
10-29-2003, 10:31 AM
|
#3
|
Member
Registered: Aug 2003
Posts: 253
Original Poster
Rep:
|
Here is my fstab:
I seem to have a conflict somewhere, because my cdrw is either sc0 or cdrom. It's a cdrw, so I think it should be scd0.
LABEL=/ / ext3 defaults 1 1
LABEL=/boot /boot ext3 defaults 1 2
none /dev/pts devpts gid=5,mode=620 0 0
none /proc proc defaults 0 0
none /dev/shm tmpfs defaults 0 0
/dev/hda3 swap swap defaults 0 0
/dev/cdrom /mnt/cdrom iso9660 noauto,owner,kudzu,ro 0 0
/dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
Anxiously awaiting your reply.
ergo_sum
|
|
|
10-29-2003, 11:09 AM
|
#4
|
Member
Registered: Nov 2002
Posts: 668
Rep:
|
Well, usually /dev/cdrm is just a soft link to another device, like /dev/hdc or something like that.
If you use SCSI emulation for an IDE CD-Rom drive (hdc=ide-scsi might show up in your lilo.conf) then it might show up as another device. I think on my system the CD-RW is designated as /dev/sr0, but I just re-directed the cdrom link
ln -s /dev/sr0 /dev/cdrom
|
|
|
10-29-2003, 04:44 PM
|
#5
|
Member
Registered: Aug 2003
Posts: 253
Original Poster
Rep:
|
So what do I do?
|
|
|
10-29-2003, 09:03 PM
|
#6
|
Member
Registered: Nov 2002
Posts: 668
Rep:
|
Well, we need to determine what device designation your CD-Rom is assigned to. (I'll show info from my systyem as an example)
look in your /etc/lilo.conf for something like this:
Code:
append="hdc=ide-scsi"
This shows that my system is using SCSI emulation for /dev/hdc
If that's the case, then look at the output of
cat /proc/scsi/scsi
mine looks like this:
Code:
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: LITE-ON Model: LTR-40125S Rev: ZS0J
Type: CD-ROM ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
Vendor: Generic Model: STORAGE DEVICE Rev: 0125
Type: Direct-Access ANSI SCSI revision: 02
The first one is my CD-writer. Now, I don't remember exactly how I figured out that my drive was showing up as /dev/sr0, but that's what it ended up being, so I just created a soft link from that to /dev/cdrom. Like this
ln -s /dev/sr0 /dev/cdrom
Then I updated my fstab entry:
Code:
/dev/cdrom /mnt/cdrw iso9660 noauto,user 0 0
Does all that make sense?
|
|
|
10-31-2003, 05:18 AM
|
#7
|
Member
Registered: Aug 2003
Posts: 253
Original Poster
Rep:
|
Yes.
Here is the relevant part in my /etc/grub.conf:
hdc=ide-scsi
And here is /proc/scsi/scsi:
Attached devices:
Host: scsi0 Channel: 00 Id: 00 Lun: 00
Vendor: LG Model: CD-RW CED-8080B Rev: 1.04
Type: CD-ROM ANSI SCSI revision: 02
The most important part of your post is that your cdrw is /dev/sr0. I need to figure out what my cdrw is. I don't have a listing of /dev/sr0.
So I guess my question is how do I figure out what my cdrw is?
Looking forward to your reply.
ergo_sum
|
|
|
10-31-2003, 12:34 PM
|
#8
|
Member
Registered: Nov 2002
Posts: 668
Rep:
|
I'll have to track down where it told me that. Just out of curiousity, dod you try mounting /dev/sr0?
more later..... we're getting close. 
|
|
|
10-31-2003, 03:45 PM
|
#9
|
Moderator
Registered: Aug 2002
Posts: 26,922
|
What distro / version are you running?
Have you tried mounting a data cd to /dev/scd0?
What are the output messages of dmesg for your CDRW?
|
|
|
11-01-2003, 04:31 AM
|
#10
|
Member
Registered: Aug 2003
Posts: 253
Original Poster
Rep:
|
Running rh 7.3, kde desktop.
Didn't try mounting sr0 because there's no such device in /dev/ I'm a newbie, so does that matter or not?
ergo_sum
|
|
|
11-01-2003, 04:37 AM
|
#11
|
Member
Registered: Aug 2003
Posts: 253
Original Poster
Rep:
|
Here is dmesg | grep 'hd'
ide_setup: hdc=ide-scsi
ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda  MA, hdb  io
ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc  MA, hdd  io
hda: WDC WD400EB-00CPF0, ATA DISK drive
hdc: LG CD-RW CED-8080B, ATAPI CD/DVD-ROM drive
hda: 78165360 sectors (40021 MB) w/2048KiB Cache, CHS=4865/255/63, UDMA(100)
hda: hda1 hda2 hda3
hdc: DMA disabled
This is all good, except for the DMA disabled part. Could that have something to do w/ my cdrw not working/ gone missing?
|
|
|
All times are GMT -5. The time now is 11:16 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|