[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#701814: Re: Bug#701814: os-prober: damages XFS exported via iSCSI but not mounted locally; potential data loss



Hi,

On Sun, May 19, 2013 at 12:11:30AM +0100, Colin Watson wrote:
> On Sun, Mar 24, 2013 at 01:29:54PM +0100, Ivo De Decker wrote:
> > Is there still a reason to keep trying the regular mount? Are there cases
> > where grub-mount is expected to fail? Maybe only trying grub-mount could be
> > the default.
> 
> grub-mount is only available on architectures where GRUB has been
> ported; that's quite a few nowadays, but not all.  Furthermore os-prober
> is used on some other distributions and I don't know if they all have
> grub-mount available.  But it's true that to some extent I was mostly
> being conservative in falling back to mount, and maybe we could do
> something better in terms of working out whether grub-mount can
> reasonably be expected to be available.

I had a talk about this with Colin at debconf, and it seems that there aren't
that many cases left where grub-mount is not available. It might be best to
disable the probing (by default) on all architectures where grub-mount is
available.

On the architectures where grub-mount isn't available (currently mips, arm*
and s390*), the question is whether it makes sense to try to randomly mount
other filesystems by default in the hope of finding another OS installation,
knowing this might break something.

Cheers,

Ivo


Reply to: