volume.fstype cleared after unmount

Kay Sievers kay.sievers at vrfy.org
Sun Jun 20 07:27:44 PDT 2004


On Sun, 2004-06-20 at 16:16 +0200, David Zeuthen wrote:
> On Sun, 2004-06-20 at 14:31 +0200, Kay Sievers wrote:
> > hald/linux/block_class_device.c:foreach_block_device() [line 1533]
> > clears the "volume.fstype" string after unmounting the device.
> > Is this intentional?
> > 
> 
> Nope, thanks for catching that; I've removed that line. Corner case:
> what if someone reformats the disk?

Good point. Me may at least call detect_fs() after mount?

If someone reformats a partition or or changes the label with a low-
levwel tool, seems we can do nothing :(

Kay


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



More information about the Hal mailing list