How to use fstab-sync?

Kay Sievers kay.sievers at vrfy.org
Tue Aug 17 05:42:50 PDT 2004


On Tue, 2004-08-17 at 14:24 +0200, Thomas Gufler wrote:
> 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.

Yes, you are right, sorry for the confusion.

> 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. 

Only FAT32 is vfat in volume_id, will see what I can do...

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

Yeah, David changed fstyb-sync.c to swich "msdos" to "vfat", so it will
work for now.

I will have a look at volume_id if we can clearly see what we have, not
only looking at the signature. Stay tuned!

Thanks,
Kay

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



More information about the Hal mailing list