Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ntfs3g, HAL and Gnome [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Thu Apr 15, 2010 9:54 am    Post subject: ntfs3g, HAL and Gnome [solved] Reply with quote

I have been using XFCE for the past few months, and it used to handle ntfs volumes very well. As soon as I installed ntfs3g it started using it to mount my ntfs volumes, meaning that I had write support with no intervention on the users side.

Now I am giving Gnome a try, and I find that it uses the regular in-kernel ntfs drivers instead. I guess this must be some Gnome specific setting that I am not aware of. I am starting to get the hang of the gnome configuration editor, and I've found these settings that (I think) are related to the issue:

Code:
/system/storage/default_options/ntfs/fstype_override=ntfs-3g
/system/storage/default_options/ntfs/mount_options=[umask=222]
/system/storage/default_options/ntfs-3g/mount_options=[locale=]


If I have the ntfs support enabled in my kernel, gnome/nautilus will silently mount my pendrive as ntfs, thus as read-only. If I disable that in my kernel then gnome will show a modal window with this error when I plug the device:

Code:
Error mounting: mount: unknown filesystem type 'ntfs'


So, any idea? Thanks in advance for any help.

Edited: these are my gnome and ntfs3g versions:

Code:
[ebuild   R   ] sys-fs/ntfs3g-2010.3.6  USE="acl external-fuse hal -debug -suid" 0 kB
[ebuild   R   ] gnome-base/gnome-2.28.2  USE="cdr dvdr -accessibility -cups -ldap -mono -policykit" 0 kB


Last edited by i92guboj on Tue May 04, 2010 5:34 am; edited 1 time in total
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Thu Apr 15, 2010 11:08 am    Post subject: Reply with quote

just a "me too", i have recently switched to gnome and i have the same problem.

thanks !
_________________
Error: Failing not supported by current locale
Back to top
View user's profile Send private message
carcajou
Apprentice
Apprentice


Joined: 10 Jun 2008
Posts: 248

PostPosted: Thu Apr 15, 2010 11:36 am    Post subject: Reply with quote

I don't use GNOME, but maybe your problem is caused by disabled "policykit" USE flag?
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Thu Apr 15, 2010 11:48 am    Post subject: Reply with quote

Quote:
maybe your problem is caused by disabled "policykit" USE flag?


not here at least, i have policykit enabled globally.
As i92guboj mentioned it really looks like sth. trivial in some xml configuration file but i havent had the time to look into it more deeply.

thanks anyways :-)
_________________
Error: Failing not supported by current locale
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Thu Apr 15, 2010 1:43 pm    Post subject: Reply with quote

I've enabled policykit and it made no difference. I guess I'll have to dive into these xmls myself.
Back to top
View user's profile Send private message
gringo
Advocate
Advocate


Joined: 27 Apr 2003
Posts: 3793

PostPosted: Mon May 03, 2010 6:46 pm    Post subject: Reply with quote

workaround :

Quote:
Creating /etc/udev/rules.d/99-ntfs3g.rules with the following works for me

ENV{ID_FS_TYPE}=="ntfs", ENV{ID_FS_TYPE}="ntfs-3g"


EDIT : this apparently is now the default if one installs ntfs3g with the udev flag enabled :

ntfs3g changelog wrote:
05 May 2010; Patrick McLean <chutzpah@gentoo.org> +files/99-ntfs3g.rules,
ntfs3g-2010.3.6.ebuild, metadata.xml:
Add udev USE flag to install rules file to make devicekit use ntfs3g
instead of the kernel driver for mounting NTFS partitions (bug #304765).


cheers guys
_________________
Error: Failing not supported by current locale


Last edited by gringo on Thu May 13, 2010 11:55 am; edited 2 times in total
Back to top
View user's profile Send private message
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Tue May 04, 2010 5:34 am    Post subject: Reply with quote

Thanks, that saved me some time ;)
Back to top
View user's profile Send private message
nenemsis5
n00b
n00b


Joined: 23 Oct 2007
Posts: 72

PostPosted: Tue May 11, 2010 8:34 am    Post subject: Reply with quote

i have some local ntfs patition, how can i let it automount like with this USB disk by using udev rules.

untill now it only work if i enter root password, but i dont want it.
Back to top
View user's profile Send private message
pakolo
n00b
n00b


Joined: 16 Mar 2010
Posts: 2

PostPosted: Sat May 15, 2010 11:03 am    Post subject: Thanks a lot Reply with quote

I had this problem for a few days too, thanks again.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum