grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Don't open same disk twice on OpenFirmware.


From: David Miller
Subject: Re: [PATCH] Don't open same disk twice on OpenFirmware.
Date: Fri, 18 Dec 2009 10:33:13 -0800 (PST)

From: Vladimir 'φ-coder/phcoder' Serbinenko <address@hidden>
Date: Fri, 18 Dec 2009 17:17:13 +0100

> Hello, all. According to David Miller sparc's openboot doesn't support
> opening same disk twice. So I implemented handle reusage logic. Tested
> on imac g3

At a minimum you have to seek to the beginning of the device
as that is one of the many side effects of openning the
device.

I really don't think this is a good idea, really.

We sould just enforce the restriction, and put a debugging
check there to make sure the invariant is never violated.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]