[patch] some fixes for is_mounted detection

David Zeuthen david at fubar.dk
Mon Jul 5 16:43:52 PDT 2004


On Tue, 2004-07-06 at 00:45 +0200, Kay Sievers wrote:
> > When mounting it, mtab says vfat, so it must be a bug in probe_vfat()
> > since mount(1) can figure it out. I can send the 1.44MB image if you
> > want to look at it in a hexeditor or something.
> 
>   mount doesn't know anything about _this_ disk, it just tries to mount it
>   and the kernel uses heuristics like blocksize jump-addresses to guess
>   that it's fat. So I will add some of the heuristics too.
> 
> David, here is a try, to read your bad bad floppy :)
> 

It works very nicely, I've merged this. The image I sent you didn't even
contain a volume name but I've tested with this as well. It works on
both legacy x86 floppy drives and USB floppy drives. Good job!

Much thanks,
David


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



More information about the Hal mailing list