From owner-freebsd-gnome@FreeBSD.ORG Fri Mar 28 19:04:33 2008 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CA29E1065678 for ; Fri, 28 Mar 2008 19:04:33 +0000 (UTC) (envelope-from etienne@usr.ch) Received: from multi.usr.ch (multi.usr.ch [157.161.175.12]) by mx1.freebsd.org (Postfix) with ESMTP id 481458FC24 for ; Fri, 28 Mar 2008 19:04:32 +0000 (UTC) (envelope-from etienne@usr.ch) Received: from multi.usr.ch (etienne@localhost [127.0.0.1]) by multi.usr.ch (8.12.11/8.12.11) with ESMTP id m2SJ4UsI030588 for ; Fri, 28 Mar 2008 20:04:30 +0100 (CET) (envelope-from etienne@multi.usr.ch) Received: (from etienne@localhost) by multi.usr.ch (8.12.11/8.12.11/Submit) id m2SJ4U2q030587 for freebsd-gnome@freebsd.org; Fri, 28 Mar 2008 20:04:30 +0100 (CET) (envelope-from etienne) From: Stefan Hauser Message-Id: <200803281904.m2SJ4U2q030587@multi.usr.ch> To: freebsd-gnome@freebsd.org Date: Fri, 28 Mar 2008 20:04:30 +0100 (CET) X-Mailer: ELM [version 2.4ME+ PL99f (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-Spam-Status: No, hits=-2.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on multi.usr.ch Subject: hal and ntfs-3g X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 Mar 2008 19:04:33 -0000 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