hal and ntfs-3g

Joe Marcus Clarke marcus at marcuscom.com
Fri Mar 28 12:09:53 PDT 2008


On Fri, 2008-03-28 at 20:04 +0100, Stefan Hauser wrote:
> 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.

I've been looking for someone with ntfs-3g foo to help here.  I don't
have any NTFS volumes, and I don't use fuse.  There were some threads on
this list a while ago with some things to try.  If you could put
together a list of changes that work for you, I would be happy to commit
them.

Joe

-- 
PGP Key : http://www.marcuscom.com/pgp.asc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 195 bytes
Desc: This is a digitally signed message part
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20080328/c8de6402/attachment.pgp


More information about the freebsd-gnome mailing list