mlelstv
a23ee50408
Check device parameter to avoid segfaults. Agument synopsis for -l option.
2018-03-19 09:06:20 +00:00
sevan
9b1213ca1f
Spelling
2018-02-13 00:34:11 +00:00
sborrill
3610eeec38
Explain what suffixes are accepted when specifying a size.
2018-01-15 12:20:47 +00:00
mlelstv
ff454992cd
clarify that alignment is the number of bytes to align to.
2017-10-03 06:55:04 +00:00
christos
47a4080915
use __arraycount
2017-09-07 10:23:33 +00:00
christos
d68621905c
- make sure that the utf16 string is padded with 0's where needed.
...
- since the utf16 string is not 0 terminated, pass the size of the string.
2017-09-06 18:17:18 +00:00
christos
dec6dba63c
PR/52522: Piotr Meyer: Don't NUL terminate the gpt label name.
...
XXX: pullup-8
2017-09-05 18:30:46 +00:00
wiz
cd2cf51300
Use Fx/Nx.
2017-08-05 20:21:08 +00:00
kre
7cd73c9220
Fix a typo, and make a couple of minor wording improvements.
...
I resisted the (very weak) impulse to Americanise some spellings ...
2017-08-04 02:43:56 +00:00
msaitoh
1848778b0b
Add note about bootme flag:
...
The bootme flag is used to indicate which partiotion should be booted
by UEFI boot code.
2017-08-03 14:39:31 +00:00
mrg
480adae332
only do wedges if not the tools version. fixes build on netbsd-4,
...
and any other place that might have the same ioctl name while having
something not quite right (in this case, cpuid_t in headers not
working properly..)
XXX: pullup-8
2017-07-03 06:44:58 +00:00
martin
945b6d1754
Add missing endianes swap to make the "recover" command work on big endian
...
machines.
2017-03-22 19:59:16 +00:00
christos
f8bc8f05cf
allow 0 timestamp
2017-02-16 22:40:19 +00:00
christos
ef9cffab3f
Add -T timestamp for reproducible builds.
2017-02-16 03:32:17 +00:00
aymeric
eadf25e08c
Make gpt(8) work when compiled on a glibc-based OS.
...
This restores the ability to build amd64 install-image's under Linux.
2017-02-12 16:54:06 +00:00
abhinav
d468dc41e1
Fix spelling of partition.
2017-01-27 10:21:16 +00:00
jdolecek
8ed63d94b4
remove dup line
2016-11-01 16:15:51 +00:00
kre
eb67406f45
Avoiding having parameter name shadow its own function's name.
...
Strictly this shouldnt be (and hasn't been for almost a year) a problem,
but there are compilers that warn about locals shadowing globals (which
this is/was) and it is easy to avoid, so ... No functinal difference.
2016-10-05 03:06:24 +00:00
christos
f3439cf7fb
say that you need to destroy it first.
2016-09-24 13:40:55 +00:00
christos
e1a93a1b84
PR/51497: Clare: Allow gpt -p <n> create to work.
2016-09-23 19:36:50 +00:00
sevan
994edde5c7
Document the version gpt first appeared.
...
Replace contractions.
Bump date.
2016-09-11 21:38:16 +00:00
jnemeth
93fd3c01ef
- fix setting of hdr_lba_alt which was broken in revision 1.10 on 2015/12/2
...
- switch to using gpt_last
- PR/51230 -- recreate the PMBR if it was lost
2016-06-12 12:48:32 +00:00
christos
b7b34325a9
Rename 'a' to set the active PMBR flag to 'A'
2016-06-09 19:04:43 +00:00
kre
c2246a3f2c
Make "gpt show" add an "(active)" annotation to the PMBR output line
...
when it has been marked active for legacy (non UEFI) booting.
This was (kind of obviously) intended by the previous commit, but...
2016-06-09 17:43:36 +00:00
kre
89194609b9
Fix rendering of biosboot command synopsis.
2016-06-09 16:48:14 +00:00
christos
3017a7a39f
PR/51230: Add the ability to set the active flag in the PMBR.
2016-06-09 15:12:54 +00:00
dholland
dea44b9dd8
PR 50756 David Binderman: avoid running off the end of an array in case
...
thing we're looking for isn't there. Which is probably impossible, but
that's not obvious.
2016-05-31 02:29:54 +00:00
joerg
459b255b5e
gpt_vwarnx is printf-like.
2016-01-08 18:59:01 +00:00
christos
f9db75489b
- add more informational messages
...
- handle case where last argument is an option not a device (set -l)
2015-12-29 16:45:04 +00:00
jnemeth
775c41e25a
pretty up attribute display a bit
2015-12-26 13:12:16 +00:00
martin
1c2d0f1f02
Improve "show -a" display: split human readable Type: field from the Type-GUID
...
to avoid wrapping in the common case; add a human readable Size: display.
2015-12-26 13:08:45 +00:00
wiz
6471a2935e
Simplify usage for gpt show.
2015-12-25 12:16:03 +00:00
martin
53078a2022
Add a -a flag to the show command, so we can display the full GPT with
...
all information in one go.
2015-12-25 10:59:56 +00:00
martin
ac62bbaf8f
Fix output in an error case
2015-12-24 17:35:57 +00:00
wiz
34c418c523
Bump date for previous.
...
Remove trailing whitespace.
2015-12-06 09:36:57 +00:00
christos
56604dcf08
remove more duplicated code.
2015-12-06 04:27:05 +00:00
christos
4d523900d0
Add listing commands for type, set and unset.
...
Add help and formatting for set and unset.
Change show to print all the attribute info in one line.
2015-12-06 00:39:26 +00:00
christos
4eb04fb6c1
Add debugging and more to migration
2015-12-05 18:46:08 +00:00
christos
af38b629ef
type confusion
2015-12-04 21:39:18 +00:00
christos
ffec5f5c18
Kill newline
2015-12-04 16:54:28 +00:00
christos
5b47b594ae
Fix resizedisk.
2015-12-04 16:46:24 +00:00
christos
a69d504e75
put back usage from kre
2015-12-04 01:47:48 +00:00
christos
667106442f
don't print dkctl message for files
...
fix typo
2015-12-04 01:46:32 +00:00
christos
c8b27b5883
fix label printing.
2015-12-04 01:46:12 +00:00
christos
e3058c5edd
CID 1341564: Arg memory leak
2015-12-03 21:51:02 +00:00
christos
8bffbb3c7c
more leak
2015-12-03 21:49:51 +00:00
christos
b58e9ed6af
CID 1341563: fix leak
2015-12-03 21:48:12 +00:00
christos
e37a2a9523
CID 1341561: Argument memory leak
2015-12-03 21:46:22 +00:00
christos
560e3b65f3
CID 1341560: Free arg.
2015-12-03 21:43:25 +00:00
christos
849ad1de81
CID 1341558: Fix proplib memory leaks
2015-12-03 21:40:32 +00:00