Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Mar 2008 15:09:50 -0400
From:      Joe Marcus Clarke <marcus@marcuscom.com>
To:        Stefan Hauser <etienne@usr.ch>
Cc:        freebsd-gnome@freebsd.org
Subject:   Re: hal and ntfs-3g
Message-ID:  <1206731390.2392.67.camel@shumai.marcuscom.com>
In-Reply-To: <200803281904.m2SJ4U2q030587@multi.usr.ch>
References:  <200803281904.m2SJ4U2q030587@multi.usr.ch>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-6Aj7FAKA81gvEUD0KrrY
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

On Fri, 2008-03-28 at 20:04 +0100, Stefan Hauser wrote:
> well, and now for the next 'problem' :-)
>=20
> since i have a few ntfs partitions on my laptop, i use them also much fro=
m
> freebsd. so far, i just hat mount_ntfs point to ntfs-3g, since i need wri=
te
> ability too. now i noticed, this won't work with hal mounting.=20
> 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=3D, and=
 this
> is not in the allowed section for ntfs..
>=20
> 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/freede=
sktop/Hal/devices/volume_uuid_CE70F5D970F5C7EB' and execpath 'hal-storage-m=
ount'
> 19:41:30.689 [I] hald_dbus.c:4018: no need to enqueue
> Run started hal-storage-mount (0) (1)=20
> !  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                           =3D /dev/ntfs/XP
> invoked by uid                   =3D 1042
> invoked by system bus connection =3D :1.213
>  label 'XP'  uuid 'CE70F5D970F5C7EB'
> Looking at /etc/fstab entry '/dev/ad0s1b'
> /etc/fstab: device /dev/ad0s1b -> /dev/ad0s1b=20
> Looking at /etc/fstab entry 'proc'
> /etc/fstab: device proc -> proc=20
> Looking at /etc/fstab entry '/dev/ad0s1a'
> /etc/fstab: device /dev/ad0s1a -> /dev/ad0s1a=20
> Looking at /etc/fstab entry '/dev/da0s4d'
> /etc/fstab: device /dev/da0s4d -> /dev/da0s4d=20
> Looking at /etc/fstab entry '/dev/da0s1'
> /etc/fstab: device /dev/da0s1 -> /dev/da0s1=20
> mount_point    =3D 'XP'
> mount_fstype   =3D 'ntfs-3g'
> mount_options  =3D 'locale=3DC	'
> trying dir /media/XP
> given_options[0] =3D 'locale=3DC'
> allowed_options[0] =3D 'ro'
> allowed_options[1] =3D 'noexec'
> allowed_options[2] =3D 'noatime'
> allowed_options[3] =3D '-u=3D'
> allowed_options[4] =3D '-g=3D'
> allowed_options[5] =3D '-m=3D'
> allowed_options[6] =3D '-a'
> allowed_options[7] =3D '-i'
> allowed_options[8] =3D '-C=3D'
> allowed_options[9] =3D '-W=3D'
> pid 4218: rc=3D1 signaled=3D0: /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.Devic=
e.Volume.InvalidMountOption' 'The option 'locale=3DC' is not allowed for ui=
d=3D1042'
> 19:41:36.705 [I] ci-tracker.c:212: Removing CICallerInfo object for :1.21=
3
> 19:41:36.705 [I] device.c:1894: Removing locks from ':1.213'
>=20
> so, /usr/local/share/hal/fdi/policy/10osvendor/20-storage-methods.fdi nee=
ds
> 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

--=20
PGP Key : http://www.marcuscom.com/pgp.asc

--=-6Aj7FAKA81gvEUD0KrrY
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (FreeBSD)

iEYEABECAAYFAkftQn4ACgkQb2iPiv4Uz4cQlACeNHRHr8yWiNaSnENstmmU+wyN
/mYAnR/xHfFi5sNUpOfTHDUdOd9ysIBF
=DM2R
-----END PGP SIGNATURE-----

--=-6Aj7FAKA81gvEUD0KrrY--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1206731390.2392.67.camel>