Date: Fri, 28 Mar 2008 20:04:30 +0100 (CET) From: Stefan Hauser <etienne@usr.ch> To: freebsd-gnome@freebsd.org Subject: hal and ntfs-3g Message-ID: <200803281904.m2SJ4U2q030587@multi.usr.ch>
next in thread | raw e-mail | index | archive | help
well, and now for the next 'problem' :-) since i have a few ntfs partitions on my laptop, i use them also much from freebsd. so far, i just hat mount_ntfs point to ntfs-3g, since i need write ability too. now i noticed, this won't work with hal mounting. after browsing trough gconf, i found exactly, what i need: /system/storage/default_options/ntfs/fstype_override ok, set it to ntfs-3g. but, no go. default option there is locale=, and this is not in the allowed section for ntfs.. 19:41:30.689 [I] hald_dbus.c:5127: OK for method 'Mount' with signature 'ssas' on interface 'org.freedesktop.Hal.Device.Volume' for UDI '/org/freedesktop/Hal/devices/volume_uuid_CE70F5D970F5C7EB' and execpath 'hal-storage-mount' 19:41:30.689 [I] hald_dbus.c:4018: no need to enqueue Run started hal-storage-mount (0) (1) ! full path is '/usr/local/libexec/hal-storage-mount', program_dir is '/usr/local/libexec' 4218: XYA attempting to get lock on /media/.hal-mtab-lock 4218: XYA got lock on /media/.hal-mtab-lock device = /dev/ntfs/XP invoked by uid = 1042 invoked by system bus connection = :1.213 label 'XP' uuid 'CE70F5D970F5C7EB' Looking at /etc/fstab entry '/dev/ad0s1b' /etc/fstab: device /dev/ad0s1b -> /dev/ad0s1b Looking at /etc/fstab entry 'proc' /etc/fstab: device proc -> proc Looking at /etc/fstab entry '/dev/ad0s1a' /etc/fstab: device /dev/ad0s1a -> /dev/ad0s1a Looking at /etc/fstab entry '/dev/da0s4d' /etc/fstab: device /dev/da0s4d -> /dev/da0s4d Looking at /etc/fstab entry '/dev/da0s1' /etc/fstab: device /dev/da0s1 -> /dev/da0s1 mount_point = 'XP' mount_fstype = 'ntfs-3g' mount_options = 'locale=C ' trying dir /media/XP given_options[0] = 'locale=C' allowed_options[0] = 'ro' allowed_options[1] = 'noexec' allowed_options[2] = 'noatime' allowed_options[3] = '-u=' allowed_options[4] = '-g=' allowed_options[5] = '-m=' allowed_options[6] = '-a' allowed_options[7] = '-i' allowed_options[8] = '-C=' allowed_options[9] = '-W=' pid 4218: rc=1 signaled=0: /usr/local/libexec/hal-storage-mount 19:41:30.711 [I] device.c:1894: Removing locks from ':1.214' 19:41:30.711 [I] hald_dbus.c:4042: No more methods in queue 19:41:30.711 [I] hald_dbus.c:4105: failed with 'org.freedesktop.Hal.Device.Volume.InvalidMountOption' 'The option 'locale=C' is not allowed for uid=1042' 19:41:36.705 [I] ci-tracker.c:212: Removing CICallerInfo object for :1.213 19:41:36.705 [I] device.c:1894: Removing locks from ':1.213' so, /usr/local/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi needs some addition, i guess. etienne
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200803281904.m2SJ4U2q030587>