how to suggest filesystem type for a volume?

Kay Sievers kay.sievers at vrfy.org
Sat Sep 4 15:11:27 PDT 2004


On Sat, 2004-09-04 at 23:42 +0200, Artem Baguinski wrote:
> Artem Baguinski wrote:
> > i'd like to force filesystem type on my portable audio player to vfat 
> > instead of msdos.
> > 
> > i'd like to say in a first device "for all children set volume.fstype = 
> > 'vfat'"
> > 
> 
> hmmm... i seem to have found a hacky workaround:
> 
>     <device>
>       <match key="volume.fstype" string="msdos">
>         <merge key="volume.fstype" type="string">vfat</merge>
>       </match>
>     </device>
> 
> now anything autodetected as msdos will be mounted as vfat. i have no 
> idea if that's ok but it works for my devices. but for real, i probably 
> have to get rid of msdos filesystem in my kernel altogether.

What version of HAL do you use? This should not happen anymore. I have
completely removed the "msdos"-type from volume_id the lib that sniffs
your disk. We have a fsversion property now, which tells you your FAT
version and everything is mounted vfat.

Kay

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



More information about the Hal mailing list