Red HatThis forum is for the discussion of Red Hat 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.
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.
My problem is that I don't know what my cdrw is in /dev, so I cannot mount it.
It's ludicrous to have to wipe out a hdd and reinstall just so I can have a cdrw. I think it sucks, and certainly is a drawback for linux (hopefully newer versions have fixed this snafu).
Here is the reply:
The instruction in grub;
kernel /vmlinuz-2.4.18-3 ro root=/dev/hda2 hdc=ide-scsi
is telling the system to use scsi emulation for the cdrw so hdc is no longer /dev/hdc but probably /dev/scd0.
If you check /var/log/syslog it will probably tell you what it device name it has allocated. You should then amend your fstab so that it mounts at boot time. Mine looks like this;
/dev/scd0 /cdrom auto ro,noauto,user,exec 0 0
and put a # next to /dev/cdrom
Please. If I don't solve this soon I'll be forced to reinstall, which is really crazy.
Let me reiterate: I don't know what it is (cdrw) in /dev.
There should be something within the distro to tell me what it is--some file or log. I don't think I should be adding stuff to something that's unresolved.
And I'll not get into the politics of one os vs another, but really, some os's find devices so much easier than this. It's mind boggling. Your snafu comment doesn't recognize my criticism, which was towards "ease of use".
I'm looking at a reinstall if I can't get this to work. Blame comes later. Let me get this to work first, then you'll hear/read my observations.
And back to my original question: is there something equivalent to /var/log/syslog in RH?
Is this a file I should have, or is it located somewhere else? I want to find the id of my cdrw. It's there. I know it's using scsi emulation. I need to know what its name is.
Originally posted by LogicG8
If you are having problems finding the device try
dmesg | grep -i -A 10 ide-cd
"dmesg | grep -i -A ide-cd" is not the same command
the -A switch tells grep how many lines to print
grep got confused when you told it "I'm giving you a number"
and then you gave it ide-cd instead
lsof should be on your installation cdroms
I'm sorry I thought it installed by default.
The b means it's a block device.
And Linux by default doesn't let
users have raw access to devices.
Linux tries to adhere to the principle of
least privilege.
Right now you can play CDs as root but
root is a bad person to be. You can destroy
your system easily. Try
chmod 644 /dev/scd0
This will inject(?) the tray but not all cdrom drives recognize this command
eject -t
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.