LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 08-05-2005, 02:35 PM   #1
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Rep: Reputation: 45
fstab changes


Is there any way to make changes made to /etc/fstab take place immediatley or do I always need to reboot?
 
Old 08-05-2005, 02:46 PM   #2
timcharper
Member
 
Registered: May 2005
Location: Utah
Distribution: Fedora Core 4
Posts: 36

Rep: Reputation: 15
you can run them immediately without rebooting

after you edit /etc/fstab, type mount and then the mount point

for example:

mount /mnt/musicshared
 
Old 08-05-2005, 03:15 PM   #3
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
Aaah and the mount will read the new fstab entry for that mountpoint :thup:
 
Old 08-05-2005, 04:42 PM   #4
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
Now there is the small problem when I run the command

: mount /mnt/cdrom

It returns the error

mount: permission denied

The mount is being run as root

When I type mount the following appears:
Code:
none on /mnt/cdrom type supermount (rw,noexec,nosuid,nodev,dev=/dev/hdb,fs=iso9660,--)
When I type cat /etc/fstab the following appears:

Code:
/dev/hdb /mnt/cdrom iso9660 user,iocharset=iso8859-15,suid 0 0
 
Old 08-05-2005, 04:44 PM   #5
timcharper
Member
 
Registered: May 2005
Location: Utah
Distribution: Fedora Core 4
Posts: 36

Rep: Reputation: 15
hmm

well, I don't know what to tell you there. this is what I have in my fstab file. maybe you could try changing it something similar. My distro is fedora 3, but it shouldn't matter too much.

/dev/hdc /media/cdrom auto pamconsole,exec,noauto,managed 0 0

Last edited by timcharper; 08-05-2005 at 04:46 PM.
 
Old 08-05-2005, 09:24 PM   #6
improverrr
Member
 
Registered: Apr 2005
Posts: 34

Rep: Reputation: 15
you can reupdate the complete fstab all at once by typing: mount -a
 
Old 08-07-2005, 09:27 PM   #7
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
Quote:
well, I don't know what to tell you there. this is what I have in my fstab file. maybe you could try changing it something similar. My distro is fedora 3
Mandriva uses fstab-sync and gnome-volume-manager in 2005LE to mount CD/DVD drives. From that it looks like Fedora uses autofs so this won't work in Mandriva.

Jongi first unmount /mnt/cdrom, you shouldn't need to customise it to use supermount (its been deprecated for CD/DVD drives) and fstab-sync will keep overwriting your customisations in /etc/fstab anyway. Now you should be able to just insert a CD and cd into the directory (or open it in konqueror or whatever) and it should work.
 
Old 08-08-2005, 11:16 AM   #8
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
1. I unmount mnt/cdrom
2. edit fstab and add supermount to mnt/cdrom line?
3. run mount -a?
 
Old 08-08-2005, 05:56 PM   #9
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
No Mandriva doesn't use supermount for CDs anymore in this version. Change fstab back to what it was normally. Make sure that haldaemon, hotplug and messagebus are running:
Code:
service haldaemon status
service messagebus status
....
 
Old 08-10-2005, 07:23 AM   #10
Jongi
Senior Member
 
Registered: Aug 2003
Distribution: Debian Sid 32/64-bit, F10 32/64-bit
Posts: 1,070

Original Poster
Rep: Reputation: 45
I notice that the fstab has the following

Code:
# This file is edited by fstab-sync - see 'man fstab-sync' for details
 
Old 08-10-2005, 09:28 PM   #11
tkedwards
Senior Member
 
Registered: Aug 2004
Location: Munich, Germany
Distribution: Opensuse 11.2
Posts: 1,549

Rep: Reputation: 52
This thread seems to be about a similar problem:
http://www.linuxquestions.org/questi...hreadid=350091
 
  


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
fstab problem: mount: can't find dvd in /etc/fstab or /etc/mtab Nikon01 Slackware 5 11-17-2006 06:15 AM
newbie vs fstab. fstab wins :( blop Linux - Newbie 3 01-07-2005 05:54 AM
What is fstab? sceadu Linux - Newbie 2 11-02-2004 07:25 PM
(version 5.1 chapter 08 fstab) vs (man fstab) rgiggs Linux From Scratch 2 06-03-2004 05:55 PM
Help with /etc/fstab wawosz Linux - General 3 04-24-2003 02:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

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