Re: Re: For the grub maintainers II
On Tue, Sep 08, 2009 at 05:35:06PM +0200, Gabor Gombas wrote:
> On Tue, Sep 08, 2009 at 04:35:42PM +0200, Fabian Greffrath wrote:
> > With the namespace issue fixed and a blacklist to avoid mounting
> > partitions in a virtualization environment, would it make sense to
> > make grub-pc recommend (or even depend on) os-prober again?
> The problem is not just virtualization but also exporting the block
> device over the network. E.g. vblade does not open the device with
> O_EXCL, so it is possible to mount it locally while some remote client
> also have it mounted, resulting in data corruption.
I think the best thing to do would be to use some kind of COW scheme
on the device before mounting it. Setting up a device mapper snapshot,
backed by a sparse file in a tmpfs is probably a good though hackish
solution. I can give some help if needed.