how to suggest filesystem type for a volume?

Artem Baguinski artm at v2.nl
Sat Sep 4 14:42:27 PDT 2004


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.

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



More information about the Hal mailing list