[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] grub-probefs --root-device
From: |
Yoshinori K. Okuji |
Subject: |
Re: [PATCH] grub-probefs --root-device |
Date: |
Sat, 23 Sep 2006 05:20:37 +0200 |
User-agent: |
KMail/1.8.2 |
On Friday 22 September 2006 18:33, Robert Millan wrote:
> This would be very useful to get rid of ugly kludges in Debian, such as
> this one:
>
> http://svn.debian.org/wsvn/pkg-grub/grub2/trunk/debian/update-grub?op=file&
>rev=0&sc=0 (look for convert() here)
>
> Fortunately grub-probefs is already doing what we need, we just need a way
> to tell it to print the information.
However, this usage is against the original meaning, thus the naming is not
appropriate any longer. In addition, I don't like that we make an ad-hoc text
output (the first line is a fs module name, the second line is a root device
name, etc.).
So I propose that we rename the utility to "grub-probe" and add some options
to change the target of grub-probe. The default should be probing a fs to
help people who are used to grub-probefs. Here is an example:
$ grub-probe --target=fs
ufs
$ grub-probe
ufs
$ grub-probe --target=drive
(hd0,1)
$ grub-probe --target=device
/dev/hda1
What do you think?
Okuji
- [PATCH] grub-probefs --root-device, Robert Millan, 2006/09/22
- Re: [PATCH] grub-probefs --root-device, Robert Millan, 2006/09/22
- Re: [PATCH] grub-probefs --root-device,
Yoshinori K. Okuji <=
- Re: [PATCH] grub-probefs --root-device, Robert Millan, 2006/09/23
- Re: [PATCH] grub-probefs --root-device, Robert Millan, 2006/09/23
- Re: [PATCH] grub-probefs --root-device, Robert Millan, 2006/09/25
- grub 2 on debian amd64, Colin Lamarre, 2006/09/25
- Re: grub 2 on debian amd64, Hollis Blanchard, 2006/09/25
- Re: grub 2 on debian amd64, Robert Millan, 2006/09/26
- Re: [PATCH] grub-probefs --root-device, Vesa Jääskeläinen, 2006/09/26
- Re: [PATCH] grub-probefs --root-device, Robert Millan, 2006/09/28