LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 12-06-2003, 05:00 PM   #1
MeanJoshGreen
LQ Newbie
 
Registered: Feb 2002
Posts: 10

Rep: Reputation: 0
changing default mount location


i have two disk drives, /dev/cdrom (my DVD drive) and /dev/cdrom1 (my CD-R drive). they were mounting to /mnt/cdrom and /mnt/cdrom1 respectivly just fine (this is on a new install of Fedora)

I also have two fat32 HD's which i have installed... went into /etc/fstab and added the neccessary lines for them, worked fine, autorun and automount worked for the two CD drives.


Now, I wanted to change the locatsion that the CD's were mounted to, to /mnt/dvd and /mnt/cdr

I went into /etc/fstab and modifed the two lines from

Code:
/dev/cdrom /mnt/cdrom udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdrom1 udf,iso9660 noauto,owner,kudzu,ro 0 0
to

Code:
/dev/cdrom /mnt/dvd udf,iso9660 noauto,owner,kudzu,ro 0 0
/dev/cdrom1 /mnt/cdr udf,iso9660 noauto,owner,kudzu,ro 0 0
As su, i created the two directories (and yes they are correct) and then ran mount -a

Nothing happened. removing the disks and replacing them does nothing, but doing mount /dev/cdrom or mount /dev/cdrom1 does mount them, however, sometimes it won't let me umount or eject them.

Did I do something wrong? or am I missing a step? thanks again
 
Old 12-06-2003, 08:02 PM   #2
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Look at the permissions and uid/gid of /mnt/cdrom and make sure that /mnt/dvd and /mnt/cdr are the same.
 
Old 12-06-2003, 09:56 PM   #3
MeanJoshGreen
LQ Newbie
 
Registered: Feb 2002
Posts: 10

Original Poster
Rep: Reputation: 0
i deleted /mnt/cdrom and /mnt/cdrom1 :-(
Code:
drwxrwxrwx 2 root root 4096 Dec 6 16:42 cdr
drwxrwxrwx 2 root root 4096 Dec 6 16:41 dvd
thats what ls -la1 reports
 
Old 12-07-2003, 02:19 AM   #4
/bin/bash
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Mandrake Slackware-current QNX4.25
Posts: 1,802

Rep: Reputation: 47
Mine are like this, so what you have should work fine. The noauto will keep them from being auto mounted with a mount -a command. I dont know why they would be mounted before you changed mount location?
Code:
drwxr-xr-x    2 root     root           48 Nov 18 23:05 cdrom/
drwxr-xr-x    2 root     root           48 Nov 18 23:05 cdrom2/
 
  


Reply



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
Changing emacs' default file location rose_bud4201 Linux - Software 6 11-16-2004 11:01 PM
Changing the default /tmp location nws_linux Linux - Newbie 6 09-16-2004 10:45 AM
Changing default Mozilla location compassman Linux - Software 2 06-26-2004 03:44 PM
changing user's default ftp home location GraemeK Linux - Networking 0 12-31-2003 12:11 PM
default installation location Goatdemon Linux - General 1 07-11-2002 04:29 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 03:22 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