From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1RIHLb-0003um-L5 for mharc-grub-devel@gnu.org; Mon, 24 Oct 2011 06:01:35 -0400 Received: from eggs.gnu.org ([140.186.70.92]:51358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIHLY-0003uB-5P for grub-devel@gnu.org; Mon, 24 Oct 2011 06:01:33 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RIHLW-0005hS-Rt for grub-devel@gnu.org; Mon, 24 Oct 2011 06:01:32 -0400 Received: from mail-bw0-f41.google.com ([209.85.214.41]:37913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RIHLW-0005hJ-N4 for grub-devel@gnu.org; Mon, 24 Oct 2011 06:01:30 -0400 Received: by bkbzu5 with SMTP id zu5so9126087bkb.0 for ; Mon, 24 Oct 2011 03:01:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:x-enigmail-version:content-type; bh=jftiWejWROY80doumNsspZDrMxnov0jgIY3fLZ3eI5Q=; b=uNWqUMyoWiLY57PFsPQ0fWdsCwiXRJdnl0+l8XQDmDISa1EbzxLLOCuQklTop5Ipfo DlH33FmtBqApqr3jSoEo++W/6tQ7H7nMDxT3IClEC4B+oe6w8lgilzeTHpBl7aWVrrZe jiz9TidIJMTbQ2bnAQdszCHSgCjeGsmwx4aQA= Received: by 10.204.133.218 with SMTP id g26mr11009373bkt.98.1319450489232; Mon, 24 Oct 2011 03:01:29 -0700 (PDT) Received: from debian.x201.phnet (gprs39.swisscom-mobile.ch. [193.247.250.39]) by mx.google.com with ESMTPS id v20sm12215858faf.1.2011.10.24.03.01.25 (version=TLSv1/SSLv3 cipher=OTHER); Mon, 24 Oct 2011 03:01:26 -0700 (PDT) Message-ID: <4EA53774.2010005@gmail.com> Date: Mon, 24 Oct 2011 12:01:24 +0200 From: =?UTF-8?B?VmxhZGltaXIgJ8+GLWNvZGVyL3BoY29kZXInIFNlcmJpbmVua28=?= User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.23) Gecko/20111005 Iceowl/1.0b2 Icedove/3.1.15 MIME-Version: 1.0 To: grub-devel@gnu.org Subject: Re: getroot for ZFS without libzfs? References: <624ACA48-86E4-4ECB-A975-A47B1FB7F7E6@gmail.com> In-Reply-To: X-Enigmail-Version: 1.1.2 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enig08C12F36433C9E23CC9E8151" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.214.41 X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Oct 2011 10:01:33 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig08C12F36433C9E23CC9E8151 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On 15.10.2011 18:59, Robert Millan wrote: > Hi, > > Please test / comment on proof-of-concept attached patch, it gets rid > of libzfs dependency in GRUB. > It looks like this patch would map all zpools with the same name to the same device. That's a problem since system may have several identically-named pools or misdetect a pool somewhere where there is none= =2E > The approach is to implement a disk abstraction, like LVM does, but in > this case a very simple one (passthrough). Then grub-probe et al can > obtain their information from this abstraction layer like they > currently do with LVM or mdRAID, but they don't need the device node > list anymore (since it's filled with a full scan, as with LVM). > > > > _______________________________________________ > Grub-devel mailing list > Grub-devel@gnu.org > https://lists.gnu.org/mailman/listinfo/grub-devel --=20 Regards Vladimir '=CF=86-coder/phcoder' Serbinenko --------------enig08C12F36433C9E23CC9E8151 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iF4EAREKAAYFAk6lN3QACgkQNak7dOguQglwJgD/ZQNSOpgSULaXOLT/u/2aswZA an+D2yUWJuJvQJkfvnYA+gK5gZXWNKGweIAEHe7SecwrdjlXCnBK0uKJKPHQuBB9 =5zR6 -----END PGP SIGNATURE----- --------------enig08C12F36433C9E23CC9E8151--