LinuxQuestions.org
Review your favorite Linux distribution.
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 09-17-2005, 01:14 PM   #16
recursv
Member
 
Registered: Oct 2004
Location: Cork, Ireland
Distribution: Slackware
Posts: 46

Rep: Reputation: 15

hmm, ok. so you can now edit the mount point by just changing the line which says
/dev/cdrom /mnt/hdd ....
to
/dev/cdrom /mnt/cdrom ...

also, i advise adding "user,noauto,ro" to the options which is the third last field on that line. It will let your user account mount the drive.
One final though, make sure /mnt/cdrom exists

finally, you can remount everything with out rebooting by typing, as root, ...
"mount -a"
 
Old 09-17-2005, 01:31 PM   #17
ben_h_24
LQ Newbie
 
Registered: Sep 2005
Posts: 25

Original Poster
Rep: Reputation: 15
Quote:
hmm, ok. so you can now edit the mount point by just changing the line which says
/dev/cdrom /mnt/hdd ....
to
/dev/cdrom /mnt/cdrom ...

also, i advise adding "user,noauto,ro" to the options which is the third last field on that line. It will let your user account mount the drive.
One final though, make sure /mnt/cdrom exists

finally, you can remount everything with out rebooting by typing, as root, ...
"mount -a"
Ok...I'm sorry I got lost, lol. the fstab-KWrite gave me this:

Code:
/dev/hda1/ext3 defaults 1 1
/dev/hda6/home ext3 defaults 1 2
none /mnt/cdrom supermount dev=/dev/hdd, fs=auto,ro,--, unmask=0, user, iocharset=iso8859-1, codepage=850,noauto, users 00
none /mnt/floppy supermount dev=/dev/fd0, fs= ext2,vfat, --, umask=0, iocharset=8859-1, sync, codepage=850 00
none /proc proc defaults 0 0
/dev/hda5 swap swap defaults 0 0
Where do I type what you said?

Last edited by ben_h_24; 09-17-2005 at 01:33 PM.
 
Old 09-17-2005, 01:37 PM   #18
aysiu
Senior Member
 
Registered: May 2005
Distribution: Ubuntu with IceWM
Posts: 1,776

Rep: Reputation: 86
Why are you editing the /etc/fstab? What are you trying to accomplish? If you say what your goal is, we can tell you what to put in /etc/fstab.
 
Old 09-17-2005, 01:38 PM   #19
ben_h_24
LQ Newbie
 
Registered: Sep 2005
Posts: 25

Original Poster
Rep: Reputation: 15
I want to change the directory for my cdrom. For some reason, when I put a cd in, I have to go to /mnt/hdd to see it. I want to go to /mnt/cdrom to see it instead of /mnt/hdd.
 
Old 09-17-2005, 01:51 PM   #20
recursv
Member
 
Registered: Oct 2004
Location: Cork, Ireland
Distribution: Slackware
Posts: 46

Rep: Reputation: 15
Unfortunately you've confused me. As far as i can see from what you've posted, your cdrom is being mounted in /mnt/cdrom

Quote:
none /mnt/cdrom supermount dev=/dev/hdd, fs=auto,ro,--, unmask=0, user, iocharset=iso8859-1, codepage=850,noauto, users 00
That is the line i was talking about
The "/mnt/cdrom" is the mount point, that is the part that should be changed to where you want to mount the cdrom. The rest of your options are ok.
 
  


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
can't execute c++ binaries, "permission denied"... even though permission is 777 SerfurJ Programming 14 02-20-2009 05:50 AM
how to have permission? jesusphreak Linux - Newbie 4 01-23-2005 06:12 AM
Permission Infinite_Pizza Linux - General 5 04-20-2004 10:40 PM
Permission help again iLLuSionZ Linux - Newbie 12 11-23-2003 09:35 AM
permission help! beautifulmind Linux - General 1 07-24-2002 04:21 AM


All times are GMT -5. The time now is 11:36 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration