How to add the option "shortname=winnt" for vfat files mounting in fstab-sync program?

Pandit Dehuri pkdcet at gmail.com
Fri Nov 20 15:31:22 PST 2009


Hi all,
I am facing a problem related to the detection of file names in my pen drive
which is formated in FAT32(VFAT) format.

Below is the content of my /etc/fstab file after I insert my pen drive.
Without that insertion, or after unplugging it the last line gets erased
automatically by the fstab-sync program I guess.

# This file is edited by fstab-sync - see 'man fstab-sync' for details
LABEL=/12 / ext3 defaults 1 1
none /dev/pts devpts gid=5,mode=620 0 0
none /dev/shm tmpfs defaults 0 0
LABEL=/home1 /home ext3 defaults 1 2
none /proc proc defaults 0 0
none /sys sysfs defaults 0 0
/dev/hdc9 swap swap defaults 0 0
LABEL=SWAP-sda9 swap swap defaults 0 0
/dev/hda /media/cdrecorder auto pamconsole,exec,noauto,managed 0 0
/dev/sdc1 /media/PRATAP_8GB vfat pamconsole,exec,noauto,managed 0 0

I know the solution to my problem, when I do manually mount the pen drive
adding another option "shortname=winnt" into the mount line. But I want thr
hal demon to do that automatically for me with this option enabled. How can
I do that?

Thanks in advance..
Pandit
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/hal/attachments/20091121/c9cd02f5/attachment.htm 


More information about the hal mailing list