kre
1467a58340
Note that biosboot without -A clears the PMBR "active" flag.
...
While here, fix some grammar and make the selection options
for biosboot a little clearer.
Ride nia@'s Dd bump.
2022-04-07 13:57:44 +00:00
nia
7a697167f6
gpt.8: Clarify that "windows" partition types are also used for FAT32
...
("msdos" in NetBSD terms), and UDF partitions. Use the same name as
Wikipedia, "Microsoft basic data".
2022-04-07 09:06:01 +00:00
christos
a0c61f459b
catch up with source rename of fbsd-zfs -> zfs
2020-07-27 20:54:18 +00:00
wiz
6f392fa3a0
Fix typo in macro. Sort option descriptions.
2020-05-24 20:59:16 +00:00
jmcneill
e5906ade5e
Add -H flag to ignore existing MBR (Hybrid MBR/GPT mode).
2020-05-24 18:42:20 +00:00
jmcneill
084befafcb
Exit gracefully when auto-expanding a partition and it is already the
...
correct size. Add a -q flag to "resize" and "resizedisk" commands to skip
printing warnings in the already resize paths.
2020-05-24 14:42:44 +00:00
martin
8e17bc1a27
Remove outdated note about sysinst restrictions
2019-07-26 07:22:05 +00:00
jnemeth
7d442200ff
Add an "uuid" command to generate a new UUID for a portion. The
...
primary intention is for use for after cloning disks to prevent
collisions.
2019-06-25 04:53:40 +00:00
martin
f63c9f4407
Allow specifying the partition via -b startsec for the biosboot cmd.
2019-04-04 13:55:40 +00:00
martin
d48fad1d9d
Allow -b to specify a partition for "gpt unset" as well.
2019-03-26 14:55:02 +00:00
martin
1756583860
Allow -b startsec to specify the partition to change for the set subcommand
...
as well.
Add another option, -N, as a quick way to remove all attributes.
2019-03-25 20:15:49 +00:00
martin
2ee402b3d0
Make the "show" subcommand accept -b startsec to identify a partition
...
(very usefull for scripts and other robotic callers).
2019-03-24 13:45:35 +00:00
martin
f2b09ed0f6
Add support for specifying the partition to resize via -b startsec
...
(similar to label and other subcommands). Do not fully add gpt_find
functionality here, as resizing multiple partitions in one go does not
make sense.
2019-03-24 13:31:00 +00:00
kre
1c825c2c91
Spello. (it is "existence").
...
ispell also says that we should s/parseable/parsable/ but I'm
not sure about that one, so I left it.
I also left a correct spelling that no-one has bothered to mangle!
2018-05-01 21:16:02 +00:00
wiz
64f2452046
Bump date for new EXIT STATUS section.
2018-05-01 21:04:01 +00:00
wiz
32e2530e6d
Sort sections.
2018-05-01 21:03:37 +00:00
martin
72be6dafa1
Make the "gpt header" command return EXIT_FAILURE when no GPT is present.
...
This helps sysinst to tell a GPT labeled disk from others.
Very lazy version of a change proposed by kre.
2018-05-01 08:17:13 +00:00
mrg
d144e17dce
add information about how to boot from gpt. mostly taken from the wiki.
2018-04-11 07:13:18 +00:00
mlelstv
a23ee50408
Check device parameter to avoid segfaults. Agument synopsis for -l option.
2018-03-19 09:06:20 +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
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
christos
ef9cffab3f
Add -T timestamp for reproducible builds.
2017-02-16 03:32:17 +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
sevan
994edde5c7
Document the version gpt first appeared.
...
Replace contractions.
Bump date.
2016-09-11 21:38:16 +00:00
christos
b7b34325a9
Rename 'a' to set the active PMBR flag to 'A'
2016-06-09 19:04:43 +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
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
wiz
34c418c523
Bump date for previous.
...
Remove trailing whitespace.
2015-12-06 09:36:57 +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
2eda9128ae
Allow backup and restore to operate on files.
2015-12-02 12:36:53 +00:00
christos
1c8d6ff1b4
Reflect reality better; we don't handle multiple devices anymore, and
...
the partitions option is only for the commands that support it.
2015-12-01 22:49:25 +00:00
christos
0b43d398b9
Firs step of refactoring, remove all globals, factor out some common code,
...
handle alternate usage but not advertise it.
2015-12-01 09:05:33 +00:00
christos
e4ed2565fe
- automatically sync the wedge information unless -n is specified.
...
- document the general options in the traditional way.
- split the main program into a separate file.
2015-11-30 19:59:34 +00:00
jnemeth
902aecab13
Add a "header" subcommand that displays information about the size of
...
the disk along with information from the GPT header if it exists.
2015-11-03 02:19:24 +00:00
wiz
d12dcb884c
Bump date for previous.
2014-12-06 21:53:55 +00:00
mlelstv
c3505b64dc
Add some more common partition types.
2014-12-06 12:24:22 +00:00
wiz
ec23d78824
Remove trailing whitespace.
2014-10-04 07:15:54 +00:00
christos
279da39389
Allow specifying sector and media size on the command line.
2014-10-04 01:00:42 +00:00
jnemeth
ac204e48a2
PR/47990 - Dr. Wolfgang Stukenbrock -- add "-L <label>" as selector option
2014-09-29 05:56:43 +00:00
jnemeth
88085c2f28
PR/44218 - David Young -- add "type" subcommand to change a partition type
2014-09-28 08:14:51 +00:00
jnemeth
2ed5cc2617
- make gpt_gpt() available for use directly by subcommands
...
- create new resizedisk disk subcommand for relocating backup GPT
2014-09-23 07:47:54 +00:00
jnemeth
4013e132a3
document the new restore subcommand
2014-09-20 22:36:09 +00:00
wiz
b07680d7fe
Bump date for previous.
2013-12-19 07:49:50 +00:00
jnemeth
4fb24d0cac
Add the backup subcommand. It dumps the contents of the partition
...
tables as a plist, which is readable by the restore subcommand.
XXX restore subcommand forthcoming
2013-12-19 06:46:51 +00:00