Gentoo Archives: gentoo-user

From: Alexander Skwar <listen@×××××××××××××××.name>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Influencing mount options of hal/udev/gnome-volume-manager/pmount?
Date: Thu, 22 Dec 2005 17:33:31
Message-Id: 43AAE2D6.6030304@mid.email-server.info
1 Hello!
2
3 When I connect my camera via USB with my PC, it gets mounted
4 like this:
5
6 /dev/sda1 on /media/usbdisk type vfat (rw,nosuid,nodev,quiet,shortname=winnt,uid=1000,gid=100,umask=077,iocharset=utf8)
7
8 I dislike "shortname=winnt" and "iocharset=utf8" and would like
9 to add "sync". How to do that?
10
11 Is the correct way to add appropriate lines to /etc/fstab? I
12 now added
13
14 /dev/sda1 /media/usbdisk auto rw,nosuid,nodev,quiet,users,gid=plugdev,umask=077,sync,noauto 0 0
15
16 and the device gets mounted with these options.
17
18 Problem: That's not a default for everything. With "fitting"
19 udev rules, I could of course make it so, that I wouldn't
20 have to reference /dev/sda1 but maybe something like /dev/camera.
21
22 Using:
23
24 Gentoo
25
26 sys-apps/hal-0.5.5.1-r1
27 sys-apps/pmount-0.9.6
28 sys-fs/udev-078
29 Gnome gnome-volume-manager 1.5.4
30 gnome-base/gnome-2.12.1
31
32 Thanks a lot.
33
34 Alexander Skwar
35 --
36 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Influencing mount options of hal/udev/gnome-volume-manager/pmount? Neil Bothwick <neil@××××××××××.uk>