How to automount NTFS using HAL (without fstab entry) ?

mmm1 at tlen.pl mmm1 at tlen.pl
Mon Aug 11 11:23:16 PDT 2008


Hello,

I have portable Debian Sid installed on my usb flash drive. It's 
intended to use on many computers and many different hardware 
configurations.
Everything works fine except one thing - automount NTFS paritions. My 
idea is: not use fstab to automount and configure HAL to automount 
partitions. Currently, I have only one entry in my fstab (2 partitions 
on pen drive):

/dev/disk/by-uuid/4899-D452	/media/disk2part1	vfat	auto,users,rw,quiet,umask=000,shortname=lower	0	0
UUID=9f04cc27-0b54-4df6-a7a8-dcc5d2cec363	/	reiserfs	defaults,noatime	0	1


But all hard disk partitions are visible in media:/ (Konqueror) as 
unmounted devices. It's possible to mount ext3 partition using Konqueror 
as root, but when I try to mount ntfs same way:


mount: wrong fs type, bad option, bad superblock on /dev/sda1, missing 
codepage or helper program, or other error In some cases useful info is 
found in syslog - try dmesg | tail or somount: wrong fs type, bad 
option, bad superblock on /dev/sda1, missing codepage or helper program, 
or other error In some cases useful info is found in syslog - try dmesg 
| tail or so


How to "tell" udev to use ntfs-3g in this case? Thanks for help.


More information about the hal mailing list