tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
sbin/gpt usage
Hi,
while trying to understand why gpt(8) didn't work under Linux, I
discovered that it accepts two different usages:
gpt <device> <options> <command> <options>
and
gpt <options> <command> <options> <device>
The latter being the one documented in the manpage for ~ever. However,
in the code, the decision to use it is conditioned by the name of the
program being exactly "gpt". As this is not the case when built as a
host tool by build.sh ("nbgpt"), the new UEFI makefiles use the former
syntax, and are probably broken if run in a non-build.sh environment.
I plan to remove support for the apparently never documented former
syntax and update the UEFI makefile's accordingly, unless someone
remembers why it should remain and on which condition it should be
enabled: the default should be the documented syntax.
Regards,
Aymeric
Home |
Main Index |
Thread Index |
Old Index