LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 08-07-2002, 10:09 AM   #1
purpleburple
Member
 
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Rep: Reputation: 30
mount questions .....


Hi. I had to add append="hdc=ide-scsi" to my lilo.conf so I could burn with linux. Everything went fine and I can now burn cd's. Now I use the command >
mount /dev/sr0 /mnt/cdrom as 'su' to mount the cd

1. Does anyone know what /dev/sr0 is?
2. How come back in Redhat even with scsi enabled and I could burn cd's I only had to type /mnt/cdrom to mount a cd and now I have to type mount /dev/sr0 /mnt/cdrom?? I am not complaining about the command rather just am curious as to their differences.

Also after mounting and then umounting the cd I give the eject command and get this error message>
eject: unable to eject, last error : Input/output error

anyone know what this means?


thanks
 
Old 08-07-2002, 10:15 AM   #2
neo77777
LQ Addict
 
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
You need to edit your /etc/fstab file to reflect changes you made. Also I advise you to create a symlink to /dev/sr0, for instance
ln -s /dev/sr0 /dev/cdrw
and for convinience create a mount poit /mnt/cdrw
and your /etc/fstab entry for CD-R/RW should look like
/dev/cdrw /mnt/cdrw misc options and fs 0 0
 
Old 08-07-2002, 01:58 PM   #3
abrakadabra
Member
 
Registered: Apr 2002
Location: Denver
Distribution: SuSe,RedHat,Mandrake,
Posts: 109

Rep: Reputation: 16
Hi purpleburple, I'll try to answer your questions
1. Does anyone know what /dev/sr0 is?

A) what this means is that you have a device that is SCSI recorder with an ID of 0 that's why you'll see this entry
/dev/sr0

2. How come back in Redhat even with scsi enabled and I could burn cd's I only had to type /mnt/cdrom to mount a cd and now I have to type mount /dev/sr0 /mnt/cdrom??

A) there is a chance that RedHat created the symlink that neo77777 mentions and there was no need to mount the device to the mounting point with mount /dev/sr0 /mnt/cdrom

3.Also after mounting and then umounting the cd I give the eject command and get this error message>
eject: unable to eject, last error : Input/output error

A)Just make sure that when you are ejecting the device you are not sitting on it. What I mean is that if you are in mnt/cdrom and try to eject from here Linux will not let you. You need to cd to mnt and eject from there.

I hope this helps.

 
Old 08-07-2002, 04:23 PM   #4
purpleburple
Member
 
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Original Poster
Rep: Reputation: 30
thanks ... guys ..

I was out of the /mnt/cdrom directory when I issued the command and got the error. However I found that this command did work >

$ eject /dev/sr0

I guess I had to point the eject command to the device ....

Last edited by purpleburple; 08-07-2002 at 04:33 PM.
 
Old 08-07-2002, 05:49 PM   #5
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
ln -s /dev/sr0 /dev/cdrom

eject
 
Old 08-07-2002, 08:17 PM   #6
purpleburple
Member
 
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Original Poster
Rep: Reputation: 30
thanks Dave ! I've never done symbolic links before. Is there a file where they are all stored when I create a symbolic link? Like when I issue that command above (i am assuming at a $ prompt) does the reference to /dev/cdrom being connected to /dev/sr0 stored in some file?

thanks
 
Old 08-07-2002, 09:05 PM   #7
linuxcool
LQ Addict
 
Registered: Jun 2001
Posts: 1,183

Rep: Reputation: 47
Symbolic links are small files that are created when you run the ln command. There is no master file containing all the symbolic links. If you run the command DavidPhillips gave you, you'll find a file named cdrom in the /dev directory and in it will be a reference to /dev/sr0. Run the command ls -l /dev/cdrom after you create the symbolic link and you'll see what the link is pointing to
( /dev/cdrom ---> /dev/sr0 ).

Last edited by linuxcool; 08-07-2002 at 09:06 PM.
 
Old 08-07-2002, 09:42 PM   #8
purpleburple
Member
 
Registered: Jun 2002
Location: USA
Distribution: Slackware8.1
Posts: 332

Original Poster
Rep: Reputation: 30
thnx
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Questions about what 'mount' does Mr Smokin Joe Linux - Newbie 15 03-27-2005 07:47 PM
3 mount questions aze Linux - Software 8 01-29-2005 04:33 PM
How to mount cdrom? And another questions hemmelig Linux - Software 5 12-15-2004 03:50 AM
mount questions 1racerx Linux - Newbie 4 10-05-2004 07:09 AM
HD Mount and Partition Questions grcbheax Linux - Newbie 1 08-11-2004 09:05 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 03:57 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration