Bug#663600: Bug#663540: finds MSDOS when there is none
On Mon, Mar 12, 2012 at 12:11:29PM -0400, Joey Hess wrote:
> Colin Watson wrote:
> > How about, if grub-mount is used, we use grub-probe to find out which
> > GRUB filesystem driver is in use, and stash that somewhere so that
> > individual tests can get at it? That ought to be just as reliable as
> > the existing OS filesystem type checks.
>
> Yes please. I've CCed the other bug I opened, since it appears there
> are also several false negatives when grub-probe is used. Your method
> should solve it.
>
> Once we have a real FS type from grub-probe, the best thing would be to
> pass it into individual checks as $3 in place of "fuse".
Thanks. I've done that, and I think I've sorted out all the examples
you pointed out as a result.
qnx4 doesn't matter since AFAIK GRUB can't mount its filesystem, so
grub-mount will fail and we'll fall back to the OS driver. If
grub-mount ever learns about it and calls its driver something other
than "qnx4" then we can add that.
--
Colin Watson [cjwatson@debian.org]
Reply to: