grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] probe command


From: Vladimir 'phcoder' Serbinenko
Subject: Re: [PATCH] probe command
Date: Tue, 9 Jun 2009 22:55:31 +0200

> I can have a look how to fix it if you don't find a way.  Actually, I
> would prefer separate options for targets, as in "search".  That would
> be:
>
> -l --label
> -u --fs_uuid
> -p --partmap
> -d --driver (instead of "provider")
I was inspired by grub-probe but this way it's ok too
>
> --target=partmap doesn't work on whole disks.
It was the intent. I'm norking on nested partitions and consider the
following situation:
hd0 is subdivided by pc partmap into
hd0,1 - linux
hd0,2 - solaris which is subdivided by sun partmap into
hd0,2,1 - root
hd0,2,2 - swap
Then
probe -p hd0 gives "none"
probe -p hd0,2 gives "pc"
probe -p hd0,2,2 gives "sun"
another possibility would be
probe -p hd0 gives "pc"
probe -p hd0,2 gives "sun"
probe -p hd0,2,2 gives "none"
I don't have strong preference for one or other option but it can't
say "pc" on both hd0 and hd0,1
P.S. could you improve & commit your target libc patch?

>
> --
> Regards,
> Pavel Roskin
>
>
> _______________________________________________
> Grub-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/grub-devel
>



-- 
Regards
Vladimir 'phcoder' Serbinenko

Attachment: probe.diff
Description: Text Data


reply via email to

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