You are not logged in.
Pages: 1
Hello.
I just want to share this. I have an external usb hard disk with 2 partitions, one NTFS and the other FAT; I use XFCE and Thunar with Volman to automatically mount and open plugged devices. I don't want to put fixed fstab entries for my external device when I can manage them dynamically with hal. I had the problem that when I plugged my external hard disk the fat partition was regularly opened and available read/write for the regular user, but the ntfs partition was protected and only the root user could access it. I have ntfs-3g installed and discovered from ubuntu setup that adding a configuration file in /etc/hal/fdi/policy allow to automatically mount the NTFS partition read-write for regular users. So if you want this behavior too, just add a file called (for example) 10-ntfs-policy.fdi to the /etc/hal/fdi/policy directory with this content:
<?xml version="1.0" encoding="UTF-8"?>
<deviceinfo version="0.2">
<!-- mount ntfs volume with the ntfs-3g driver to enable write support -->
<device>
<match key="volume.fstype" string="ntfs">
<match key="@block.storage_device:storage.hotpluggable" bool="true">
<merge key="volume.fstype" type="string">ntfs-3g</merge>
<merge key="volume.policy.mount_filesystem" type="string">ntfs-3g</merge>
<append key="volume.mount.valid_options" type="strlist">locale=</append>
</match>
</match>
</device>
</deviceinfo>
I think it should work also with gnome and kde, but not tested yet because at the moment I have only xfce installed. Hope this helps. Greetings.
Oscar
Offline
you should put this in wiki .
Offline
Ok, thanks.
I'll do it if someone will confirm that this works...
:-)
O.
Offline
Works great on my machine. I'm using KDE.
Offline
Ok... others?
Could somebody check if it works with gnome?
Thanks
Offline
On my system it automatically uses NTFS-3g if it's available... I didn't do anything...
EDIT: By the way, I use GNOME... it works perfectly.
Last edited by axelgenus (2007-05-03 18:33:17)
Offline
Works here too. Thanks!
FaunOS: Live USB/DVD Linux Distro: http://www.faunos.com
Offline
I've been looking for a simple solution like this for some time now, thanx a bunch !
Offline
hmm doesn´t work here.
Is there a special way like hal has to be started or so.
it ist just in my daemons list in rc.conf
Last edited by mic64 (2007-05-13 13:06:06)
Offline
What exactly doesn't work? Doesn't mount the partition at all or do you have permission problems?
I don't have arch here installed and I can't check, but I think that having hal in daemon list and ntfs-3g installed should be enough; try to add your user to the storage group and let us know if it works.
Thanks to all the people that reported their experience. I plan to put this in the wiki soon, when I'll be realy sure not to miss some important step.
Greetings.
O.
Offline
thats the errormessahe I´m getting
I am in the storage group
Offline
I'm sure that I had that problem too a long time ago, but now I can't remember how I solved it, I'm very sorry. I'll try to remember and to write here the solution, but at the moment can't check it becouse I don't have arch installed. Anyway I think your problem is not related with the trick that's the subject of this thread.
O.
Offline
Hi.. i've tried this trick but it doesn't work.. ntfs partition are still mounted with ntfs and not ntfs-3g..
Offline
Mmmm... can't start HAL also manually..
this is dmesg output:
NTFS-fs warning (device sdb3): parse_options(): Option utf8 is no longer supported, using option nls=utf8. Please use option nls=utf8 in the future and make sure utf8 is compiled either as a module or into the kernel.
NTFS volume version 3.1.
Offline
Thank you this worked for me on xfce, didn't need to mess around with fstab like I used to.
thats the errormessahe I´m getting
I am in the storage group
As for this error even though I'm a little bit late, I had the same problem too when I'm trying to mount any ntfs external volumes, but I found the solution from this blog:
http://jefferyfernandez.id.au/2007/07/2 … f-volumes/
Hope that helps anyone having this problem.
Offline
Pages: 1