Paolo Minazzi wrote, On 12/01/2008 10:52 AM:
>> So, have you tried something like:
>> pen   -fstype=vfat,ntfs-3g        :/dev/sda1
>>
> 
> Thanks for your replay.
>>From the documentation I have read that the 2nd parameter to the last
> parameter are specific mount parameter, so it does not solve the
> problem.
> 
> For example
> pen   -fstype=vfat,gid=102,umask=002        :/dev/sda1
> 
> means do
> 
> mount -t vfat -o gid=102,umask=002 /dev/sda1 /media/pen
> 

darn.
next suggestion, which I only alluded to in the last email:
if ! grep -e "ntfs-3g" /etc/filesystems
then
        echo "perhaps do the following"
        echo "echo ntfs-3g >> /etc/filesystems"
        echo " and let autofs use auto for the fs type."
else
        echo "darn, even editing /etc/filesystems"
        echo "will not help."
fi

of course this assumes that the lack of an entry in /etc/filesystems means 
mount will not try that type, and that you can use the same gid umask set for 
both FS types.

-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter

_______________________________________________
autofs mailing list
autofs@linux.kernel.org
http://linux.kernel.org/mailman/listinfo/autofs

Reply via email to