[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
proposed solution using "ofpathname -a" (Re: OF disk naming scheme)
From: |
Robert Millan |
Subject: |
proposed solution using "ofpathname -a" (Re: OF disk naming scheme) |
Date: |
Sun, 12 Aug 2007 16:56:00 +0200 |
User-agent: |
Mutt/1.5.13 (2006-08-11) |
On Sun, Jul 22, 2007 at 10:25:05PM +0200, Robert Millan wrote:
>
> AFAIK we can only read the full OF path from /proc (with helper tools like
> ofpath / ofpathname), but not the short alias which grub uses. These can only
> be obtained when grub is running.
>
> If the proposed solution is not good, maybe we could instead remap all disks
> to "standard" grub device names (hd0, hd1..), which grub-mkdevicemap already
> knows how to guess reasonably well.
Ok, I think I finally managed to make it work the way you wanted. Please see
attached patch.
You will also need alias.diff for ofpathname (I've sent it to the author
already).
--
Robert Millan
<GPLv2> I know my rights; I want my phone call!
<DRM> What use is a phone call, if you are unable to speak?
(as seen on /.)
mkdevicemap.diff
Description: Text Data
alias.diff
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- proposed solution using "ofpathname -a" (Re: OF disk naming scheme),
Robert Millan <=