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 |
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.
|
 |
12-21-2001, 06:44 AM
|
#1
|
Member
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133
Rep:
|
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.
|
|
|
12-21-2001, 10:17 AM
|
#2
|
Member
Registered: Dec 2001
Location: New Jersey
Distribution: RedHat 9
Posts: 34
Rep:
|
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.
|
|
|
12-21-2001, 11:55 AM
|
#3
|
Member
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133
Original Poster
Rep:
|
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.
|
|
|
12-21-2001, 12:08 PM
|
#4
|
Member
Registered: Dec 2001
Location: New Jersey
Distribution: RedHat 9
Posts: 34
Rep:
|
i dont think so, as long as everything works ok
|
|
|
12-21-2001, 12:30 PM
|
#5
|
Member
Registered: Sep 2001
Location: Salt Lake City
Distribution: Slackware 8.1
Posts: 133
Original Poster
Rep:
|
Thanks, I'll leave it alone until I run into problems. So good so far.
|
|
|
12-21-2001, 12:57 PM
|
#6
|
Member
Registered: Oct 2001
Distribution: MD81 RH71
Posts: 555
Rep:
|
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
|
|
|
All times are GMT -5. The time now is 02:41 PM.
|
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
|
|