From: "Vladimir 'φ-coder/phcoder' Serbinenko" <phcoder@gmail.com>
To: The development of GNU GRUB <grub-devel@gnu.org>
Cc: Darik Horn <dajhorn@vanadac.com>,
Richard Laager <rlaager@wiktel.com>,
Zachary Bedell <pendorbound@gmail.com>
Subject: Re: [Patch] Robustly search for ZFS labels & uberblocks
Date: Sat, 28 Jan 2012 20:27:59 +0100 [thread overview]
Message-ID: <4F244C3F.4020102@gmail.com> (raw)
In-Reply-To: <CAPbcu1N9o_hFHV0Fy2woe-jqLf45g45eascNKz4F137XZCcUdg@mail.gmail.com>
On 28.01.2012 19:40, Darik Horn wrote:
> 2012/1/28 Vladimir 'φ-coder/phcoder' Serbinenko<phcoder@gmail.com>:
>> I already commented on 10_linux.in changes. They are pretty sloppy. (mostly
>> is "it works for me and I don't care about other legitimate configs")
> How do you want these things changed? I searched the email archive
> and couldn't find where you gave an example of another legitimate
> configuration, or suggested to how improve any of the related
> submissions by Robert Millan, Richard Laager, or Zachary Bedell.
Even if I didn't do before (I didn't recheck), I did it in another
message in this thread
> Keep in mind that ZoL cannot resolve the grub mdnobj number, or use
> the Solaris bootpath or devid. The only thing that matters on the
> Linux command line is the pool name, and everything else is for
> interface compatibility with Solaris.
Even this is already one piece of info which will be resolved wrong.
(Also note that if you need only this particular info you should
probably consider zfsinfo. In this case it doesn't matter because it's
still wrong though)
> Also note that this code is in the latest ZFS patch:
>
> if (strcmp (name, "mirror")&& !sscanf (name, "mirror-%u",&dummy)
> && !sscanf (name, "raidz%u",&dummy)
>
> That format doesn't match the `zpool status` output on my current
> Solaris and Linux computers. The vdev names now have the RAID level
> number and a dash character like this:
>
> raidz1-0
> raidz1-1
> raidz2-0
> raidz3-0
Does adding
"&& !sscanf (name, "raidz1-%u",&dummy)&& && !sscanf (name, "raidz2-%u",&dummy)&& !sscanf (name, "raidz3-%u",&dummy)"
resolve this problem?
--
Regards
Vladimir 'φ-coder/phcoder' Serbinenko
next prev parent reply other threads:[~2012-01-28 19:28 UTC|newest]
Thread overview: 26+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-09-19 18:45 [Patch] Robustly search for ZFS labels & uberblocks Zachary Bedell
2011-09-28 21:20 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-01-19 11:36 ` Richard Laager
2012-01-22 14:18 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-01-22 20:31 ` Richard Laager
2012-01-24 7:12 ` Richard Laager
2012-01-27 19:04 ` Zachary Bedell
2012-01-27 22:22 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-01-28 2:50 ` Richard Laager
2012-01-28 12:51 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-01-28 16:50 ` Richard Laager
2012-01-28 17:06 ` Darik Horn
2012-01-28 17:39 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-01-28 18:33 ` Richard Laager
2012-01-28 19:21 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-01-29 22:42 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-01-31 8:45 ` Richard Laager
2012-02-02 11:13 ` Richard Laager
2012-02-03 10:02 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-02-03 9:52 ` Vladimir 'φ-coder/phcoder' Serbinenko
2012-02-03 11:20 ` Richard Laager
2012-01-28 18:40 ` Darik Horn
2012-01-28 19:27 ` Vladimir 'φ-coder/phcoder' Serbinenko [this message]
2012-01-30 1:22 ` Richard Laager
2012-01-30 1:43 ` Vladimir 'φ-coder/phcoder' Serbinenko
2011-11-03 14:45 ` Vladimir 'φ-coder/phcoder' Serbinenko
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F244C3F.4020102@gmail.com \
--to=phcoder@gmail.com \
--cc=dajhorn@vanadac.com \
--cc=grub-devel@gnu.org \
--cc=pendorbound@gmail.com \
--cc=rlaager@wiktel.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).