How to use fstab-sync?

Thomas Gufler csab3266 at uibk.ac.at
Tue Aug 17 05:24:05 PDT 2004


Am Dienstag, 17. August 2004 11:40 schrieb Kay Sievers:
> On Tue, 2004-08-17 at 11:30 +0200, David Zeuthen wrote:
> > On Tue, 2004-08-17 at 10:44 +0200, Thomas Gufler wrote:
> > > Hi,
> > >
> > > thanks for your answer. I made the symlink and now fstab-sync works.
> > >
> > > Now I am faced with an other (small) problem:
> > > fstab-sync adds an entry for my usbstick with msdos as file system
> > > type. But with msdos as type the length of the filename is limited to 8
> > > (+3 extension) characters. So the filenames look like this:
> > > semina~1.sxw
> > > However if I mount my usbstick with vfat as type I get the full file
> > > name (e.g. SeminararbeitS2.sxw)
> > > IMHO it would be better if fstab-sync also use vfat as type.
> >
> > Right. I'm also facing this problem; I've put in a small hack such that
> > volume_id returns vfat even though it is probed as msdos and now it
> > EWORKSME. Kay, any comments?
>
> If volume_id returns msdos we can't be sure, that its's really vfat. But
> the kernel can mount it anyhow as vfat. I think it's better to do the
> trick it in fstab-sync itself. Thomas, you can reformat it with
> mfks.vfat too :)

Yes, I can, but that way I end with a volume.fstype msdos. 
What I did: mkfs.vfat /dev/sda1 (do I need an options ?)
When I look now in the hal-device-manager I get a device "Volume (msdos)" 
and volume.fstype string msdos. 
After that I reformated the usbstick with Windows XP (choose file system: 
FAT32) and in h-d-m I get device "NO NAME" and volume.fstype vfat. 

The fstab entry for type is now always "vfat". 

Thomas 
_______________________________________________
hal mailing list
hal at freedesktop.org
http://freedesktop.org/mailman/listinfo/hal



More information about the Hal mailing list