Date: Tue, 4 Aug 2015 09:29:55 -0400 From: Eric McCorkle <eric@metricspace.net> To: Ganael Laplanche <ganael.laplanche@corp.ovh.com>, Eric McCorkle <emc2@metricspace.net> Cc: freebsd-hackers@freebsd.org Subject: Re: Boot loader arguments (was: ZFS support for EFI) Message-ID: <55C0BE53.4080406@metricspace.net> In-Reply-To: <201508031532.44478.ganael.laplanche@corp.ovh.com> References: <201508031532.44478.ganael.laplanche@corp.ovh.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] I had thought it would be necessary in order to point the loader at the correct ZFS partition (linux does require this), but apparently loader figures out what partition it should be dealing with just fine. I don't doubt it would be a good change, and loader could use some refactoring IMO, but I'd like to keep the changesets as small as possible. On 08/03/2015 09:32 AM, Ganael Laplanche wrote: > Hi Eric, > > I am replying to this -quite old now- post : > > https://lists.freebsd.org/pipermail/freebsd-hackers/2015-March/047486.html > >> More importantly, the EFI loader doesn't seem to make use of its >> command-line arguments at all. But a ZFS-enabled loader would really >> need the ability to take arguments from boot1 (or grub, or whatever >> else). > > where you were suggesting it would be interesting for the EFI loader to make > use of its arguments, which is still not the case. > > We've faced a similar problem here, where we needed the EFI loader be able to > locally override the root-path offered through BOOTP. A quick fix would have > been to hardcode the root-path but instead we chose to pass it through an > argument to the loader (which then sets a new environment variable : > dhcp.root-path.override). > > Find attached the two -simple- patches that allow such an operation. I don't > know if they can be interesting for you or for upstream inclusion (though they > are probably *not* ready for direct inclusion yet). > > Best regards, > [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBAgAGBQJVwL5YAAoJECuREQPg1IcEGMsP/jdA8HT0haLvP3+VTdguQDLw CTRP8VTCrRxDT2mqCXVZN7Fx+wVUEfUKdU3nEsj4YYfLF0TR5uq5OVMKFwblmNE+ UausvlTvD7XHfgqrDjpzScwvMxSXHZeVEEwQ9cbJooEvn1tJq7EVGI/KKBk+LF5K wSeFezbbbLYY9xnt8IVGRPkH6YPsckJtyS5m1PMOgX0Kjvi6rCMbte5a4GkY/pVD 3OfFX3mKXoIdnIBm1DuS60JfquQbsz/Pt7ntKZmILqAbseFFG2kiOsSqFaxAFHND +ZpcbGjJi+LdCAD2Xnp3JMQtPKjqHnODXH4qz9ciUielXH15qYhfZhYafY0l/RAM bMm2NEWNW+bh6nDuXBejmWLNA7i849eamHvTraT6v9YBFnJB/1Stp7mu5B/DPg2n MApqC79VKtd4oZws+Y9H7D0tbo7xYETPhP/xejjj9cXaD9izIqbRiI01tFSNm3Kx tSpFSLJDvfEnLa03fgLOsFFxjAyZNpHEaBsYMW017a7M7StBSRw3V3zA9DXXWt4f 64BrASDiTBV62YJG+EwcK0ADbtAhHAW6G7Yss3SPH1XTqfq+gDb6W7MOq+SFeb4i 2FEh41MIFbh+biat6dbU9AemCRtYSDTct6NFpHvitaLvmgGhm3FPLjL7/XGtZlEF +gdquBfPp5dBvkt838l7 =Mvzu -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?55C0BE53.4080406>
