Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to set up fstab for gnome-volume-manager?
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
tilt
n00b
n00b


Joined: 16 Nov 2003
Posts: 36
Location: Stuttgart

PostPosted: Wed Oct 13, 2004 10:28 am    Post subject: How to set up fstab for gnome-volume-manager? Reply with quote

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
View user's profile Send private message
jdong
n00b
n00b


Joined: 01 Mar 2004
Posts: 41

PostPosted: Wed Oct 13, 2004 10:52 am    Post subject: Reply with quote

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
View user's profile Send private message
tilt
n00b
n00b


Joined: 16 Nov 2003
Posts: 36
Location: Stuttgart

PostPosted: Wed Oct 13, 2004 11:59 am    Post subject: Reply with quote

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
View user's profile Send private message
apmurray
Apprentice
Apprentice


Joined: 29 May 2004
Posts: 221
Location: Adelaide, Australia

PostPosted: Wed Oct 13, 2004 1:04 pm    Post subject: Reply with quote

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
View user's profile Send private message
Ricky
Guru
Guru


Joined: 30 May 2003
Posts: 341

PostPosted: Sun Oct 24, 2004 9:24 pm    Post subject: Reply with quote

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
View user's profile Send private message
mc_03
Tux's lil' helper
Tux's lil' helper


Joined: 27 Aug 2004
Posts: 94

PostPosted: Sun Oct 24, 2004 11:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum