View previous topic :: View next topic |
Author |
Message |
tilt n00b
Joined: 16 Nov 2003 Posts: 36 Location: Stuttgart
|
Posted: Wed Oct 13, 2004 10:28 am Post subject: How to set up fstab for gnome-volume-manager? |
|
|
Hi,
I've installed Gnome 2.8 with hal and gnome-volume-manager and it seems to be working quite well. However, there are now multiple icons for the same device when I view "Computer" in Nautilus. See this screenshot. The icons I have selected are those that were added by gnome-volume-manager.
It's kinda obvious why there are two icons for each device if you look at my fstab file (edited for clarity):
Code: |
# some of my old fstab entries
/dev/cdroms/cdrom0 /mnt/dvd iso9660 noauto,ro,users 0 0
/dev/cdroms/cdrom1 /mnt/cdrom auto noauto,ro,users 0 0
# Compact Flash
/dev/flashcard /mnt/flashcard auto noauto,users,gid=100,umask=003 0 0
# these were added by gnome-volume-manager
/dev/hdd /media/cdrom auto noauto,user,exec,ro 0 0
/dev/hdc /media/cdrw_dvdrw auto noauto,user,exec,ro 0 0
/dev/hdb6 /media/idedisk ntfs noauto,user,exec 0 0
/dev/hdb5 /media/idedisk1 ntfs noauto,user,exec 0 0
|
What's the best way to edit fstab? I want gnome-volume-manager to honor my old mount points instead of using the /media directory. Should I delete my old mount points and would I still be able to mount the devices when I'm on the console and don't have Gnome running? Or should I edit the device names so they match the ones assigned by gnome-volume-manager?
Moreover, how do I keep gnome-volume-manager from displaying icons for those two NTFS partitions? Nautilus wouldn't let me mount them anyway. |
|
Back to top |
|
|
jdong n00b
Joined: 01 Mar 2004 Posts: 41
|
Posted: Wed Oct 13, 2004 10:52 am Post subject: |
|
|
You can start by removing duplicate fstab entries and let hal create them for you (in /media).
But if you have a floppy, leave its entry in fstab! |
|
Back to top |
|
|
tilt n00b
Joined: 16 Nov 2003 Posts: 36 Location: Stuttgart
|
Posted: Wed Oct 13, 2004 11:59 am Post subject: |
|
|
jdong wrote: | You can start by removing duplicate fstab entries and let hal create them for you (in /media).
|
So there's no way to tell gnome-volume-manager that it should use
Code: | /dev/cdroms/cdrom1 /mnt/cdrom
|
instead of insisting on
Code: | /dev/hdd /media/cdrom
|
after all, it's the same device... I think my problem boils down to the fact that hal doesn't follow symlinks in /dev? |
|
Back to top |
|
|
apmurray Apprentice
Joined: 29 May 2004 Posts: 221 Location: Adelaide, Australia
|
Posted: Wed Oct 13, 2004 1:04 pm Post subject: |
|
|
tilt wrote: | jdong wrote: | You can start by removing duplicate fstab entries and let hal create them for you (in /media).
|
So there's no way to tell gnome-volume-manager that it should use
Code: | /dev/cdroms/cdrom1 /mnt/cdrom
|
instead of insisting on
Code: | /dev/hdd /media/cdrom
|
after all, it's the same device... I think my problem boils down to the fact that hal doesn't follow symlinks in /dev? |
There is a way to make it mount where you want.
Just change your entries to use the device it wants but with the mount point you want. ie:
Code: | /dev/hdd /mnt/cdrom |
|
|
Back to top |
|
|
Ricky Guru
Joined: 30 May 2003 Posts: 341
|
Posted: Sun Oct 24, 2004 9:24 pm Post subject: |
|
|
is there a way to tell gnome-volume-manager to not mount partitions? I've got a few partitions that I have no real need or desire to have mounted automatically. Thanks. |
|
Back to top |
|
|
mc_03 Tux's lil' helper
Joined: 27 Aug 2004 Posts: 94
|
Posted: Sun Oct 24, 2004 11:23 pm Post subject: |
|
|
You can use ivman instead of GVM. It's not as easy to set up, but it gives you control over individual mappings/devices, so you can set your own specific rules (like whether it should be mounted, location, etc...) for each device. |
|
Back to top |
|
|
|