LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-21-2001, 06:44 AM   #1
tunedLow
Member
 
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133

Rep: Reputation: 15
fstab and cdrom links - hdc or cdrom?


Is there any potential problem with changing the fstab line that reads the cdrom to /dev/hdc rather than the traditional /dev/cdrom ?

I was having trouble creating a symbolic link to /dev/hdc from /dev/cdrom. Upon reboot the fstab would always say there was an unexpected file type for the cdrom.

Changing the /dev/cdrom to /dev/hdc fixed it, and I can now

$ mount /etc/cdrom


My fstab line looks like this:
/dev/hdc /mnt/cdrom/ iso9660 noauto,user,kudzu,ro, exec,unhide 0,0

and if i run ls -l /dev/cdrom, I get
lrwxrwxrwx 1 root root 8Dec 21 06:16 hdc -> /dev/hdc

Thanks.
 
Old 12-21-2001, 10:17 AM   #2
boblucci
Member
 
Registered: Dec 2001
Location: New Jersey
Distribution: RedHat 9
Posts: 34

Rep: Reputation: 15
Re: fstab and cdrom links - hdc or cdrom?

Quote:
Originally posted by tunedLow
Is there any potential problem with changing the fstab line that reads the cdrom to /dev/hdc rather than the traditional /dev/cdrom ?

I was having trouble creating a symbolic link to /dev/hdc from /dev/cdrom. Upon reboot the fstab would always say there was an unexpected file type for the cdrom.

Changing the /dev/cdrom to /dev/hdc fixed it, and I can now

$ mount /etc/cdrom


My fstab line looks like this:
/dev/hdc /mnt/cdrom/ iso9660 noauto,user,kudzu,ro, exec,unhide 0,0

and if i run ls -l /dev/cdrom, I get
lrwxrwxrwx 1 root root 8Dec 21 06:16 hdc -> /dev/hdc
Thanks.
ok, i have some questions for you ? i hope these are typo's but i have to ask.
whay are you trying to mount the cdrom in /etc/cdrom when the fstab say /mnt/cdrom?
remove the / after mnt/cdrom in the fstab.
Why do you have kudzu and unhide as options?
also remove the , between the 0 0.
i think you should take a look at man fstab to know what options to put where in the fstab file.
 
Old 12-21-2001, 11:55 AM   #3
tunedLow
Member
 
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133

Original Poster
Rep: Reputation: 15
Thanks for your reply. Sorry, but those were typos. I wrote it at 6am after an allnighter.

It's $ mount /mnt/cdrom that I run.

The line is written without the extra "/" and ","

Kudzu came as a default, and from what I've read maintains the file. It can be taken out.

I really don't understand what unhide does, just saw it in some others fstab files and added while I was trying different stuff.

Again, sorry about those typos!!

But does using /dev/hdc instead of /dev/cdrom (with cdrom having a symbolic link) present any problems?

Thanks.
 
Old 12-21-2001, 12:08 PM   #4
boblucci
Member
 
Registered: Dec 2001
Location: New Jersey
Distribution: RedHat 9
Posts: 34

Rep: Reputation: 15
i dont think so, as long as everything works ok
 
Old 12-21-2001, 12:30 PM   #5
tunedLow
Member
 
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133

Original Poster
Rep: Reputation: 15
Thanks, I'll leave it alone until I run into problems. So good so far.
 
Old 12-21-2001, 12:57 PM   #6
bluecadet
Member
 
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555

Rep: Reputation: 30
yeah, that's totally normal, it's only a soft link to another file, and has absolutely no effect at all on how it works, hdc is the actusal device, so whatever is linked to that device will behave exactly the same. its only done generally make it easier to understand
 
  


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
/dev/hdc....CDROM? wombat53 Linux - Hardware 3 06-14-2005 11:02 PM
fstab cdrom help eo697 Slackware 24 07-26-2004 09:14 AM
cdrom not in fstab GlobShim Linux - General 8 04-02-2004 09:41 PM
kernel 2.6.3: cdrom isn't running....also not as /dev/hdc ...RH9 pablovschby Linux - General 8 02-25-2004 10:26 AM
hdc: (cdrom) hangs with atapi reset crap riffkool Linux - Software 2 01-28-2002 10:15 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:52 AM.

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