Hi,
I'd like to use automount in an arm embedded system to mount
automatically usb keys.
I have done it for vfat and all is OK.
Now I'd like to include also ntfs file system, so my system can
automount also ntfs filesystems.

I have searched in this list, but I have not found a post that shows
how do it in a CLEAN way.

This is my /etc/auto.misc

>>> /etc/auto.misc
pen   -fstype=vfat   :/dev/sda1

I run automount in this way :
>>>  /sbin/automount --timeout=20 /media file /etc/auto.misc

I would like to add ntfs (using ntfs-3g fuse driver).
I have tried two ways to do it, but no one is very good.

** 1 **
I have tried this /etc/auto.misc:

pen   -fstype=vfat        :/dev/sda1
pen   -fstype=ntfs-3g   :/dev/sda1

** 2 **
I have tried an executable map, but in this way I will need to
identify the filesystem type (for example using fdisk -l) and I will
prefer to avoid to do in this way.




In my opinion the best way should be the ** 1**.
Automount should try first to mount as vfat, and if it fails try ** 2
**(ntfs-3g)
But the syntax I used does not work ok.

There is a way to do it ?

Thanks in advance.
Paolo

_______________________________________________
autofs mailing list
[email protected]
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to