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
wiz
918b300e20
Fix typo.
2013-12-09 09:22:44 +00:00
jnemeth
1cb2b94165
Add two new subcommands, "set" and "unset". These were inspired by
...
FreeBSD's gpart(8), but the code is all mine. The purpose of these
is to set and unset partition attributes.
2013-12-09 08:03:17 +00:00
jnemeth
66ad0e75ae
For the "show -i <entry>" subcommand, print Start and Size both in
...
terms of number of sectors and bytes.
2013-12-09 01:35:02 +00:00
jnemeth
2098c8504e
For the add and resize subcommands, change the -s option. If there is
...
no suffix, or the suffix is 's' or 'S', size is in sectors (as before)
otherwise size is in bytes.
2013-12-08 09:32:51 +00:00
jnemeth
024b3f7622
Don't attempt to create/resize an unaligned partition if the attempt
...
to create/resize an aligned one failed. This simplifies the code
and prevents surprises. If the user wants an unaligned partition
in the case where an aligned one fails, they can simply retry the
command without the "-a" option. This change was requested by
wiz@, and after some thought I agree with it.
2013-12-06 02:31:31 +00:00
jnemeth
925666ef9b
Add two new options:
...
-g which shows the GUID for a partition
-i which shows all the gory details for a particular option
XXX the output format of -i is subject to change
2013-11-30 19:43:53 +00:00
jnemeth
d883a91427
bump date
2013-11-22 03:51:06 +00:00
jnemeth
4f22d16faa
In the manpage:
...
- s/-b number/-b blocknr/
- s/-s count/-s sectors/
- s/-p count/-p partitions/
In the program:
- s/-b lba/-b blocknr/
- s/-s lba/-s sectors/
This makes the documentation in the manpage and the program consistent
and makes it more clear what the parameters are. Also, "-s lba" was
just plain wrong since LBA stands for Logical Block Address[ing], and
the -s option didn't represent any kind of address, but rather a size.
2013-11-22 03:50:05 +00:00
wiz
00996309f7
shrunk.
2013-11-20 08:11:36 +00:00
jnemeth
0a08058311
Add a resize command. This command was inspired by FreeBSD's gpart(8),
...
but the code was written by myself.
2013-11-20 08:08:47 +00:00
jnemeth
a3d649686c
update synopsis for add subcommand
2013-11-19 05:07:40 +00:00
jnemeth
650728b4e3
Add two new options to the "add" subcommand:
...
-a alignment -- attempt to align the start and size of the partition
-l label -- supply a label for the partition
These options were inspired by FreeBSD's gpart(8) command, but the
code was written by me.
2013-11-19 05:03:41 +00:00
jnemeth
34523e4b09
- markup
...
- typo; the label command labels partitions, not remove them
- migrate -s isn't applicable to NetBSD
- add information about the space required for migration
- add a "gpt show -l" example
2013-10-24 06:59:03 +00:00
jnemeth
8ba45a6a68
revert typo fix; teach me to blindly take changes from upstream
2013-10-20 21:13:23 +00:00
jnemeth
a79ba98d4b
type fix: accommodate. -> accomodate.
2013-10-19 01:19:03 +00:00
jakllsch
ccce006c72
Bump date to date of previous change.
2012-05-02 15:42:58 +00:00
drochner
da4ea9e87f
fix a path
2012-03-09 12:30:28 +00:00
wiz
7b2c1e970a
Add an EXAMPLE section showing how to add a swap file system using gpt. Bump date.
2011-11-11 13:26:45 +00:00
wiz
82c488769a
Minimally document gpt recover. Bump date.
2011-09-19 10:40:35 +00:00
jym
8049d1e8e5
Document biosboot. Xref boot(8) and installboot(8).
2011-03-27 01:01:07 +00:00
schnoebe
431ec7cce7
List all the aliases supported for GPT partition types.
2011-02-09 05:11:15 +00:00
joerg
e4e7c43459
Don't workaround ancient macro argument limit with .Xo/.Xc.
2009-03-11 18:02:00 +00:00
joerg
997634fe14
Fix preamble to match order set out by mdoc(7). Discussed with wiz.
2009-03-09 19:24:26 +00:00
christos
1665d5e960
fix spelling of accommodate; from Zapher.
2006-11-24 19:46:58 +00:00
wiz
1a2477c1ae
Serial comma. Add RCS Id. Remove superfluous quotes.
2006-10-17 09:32:34 +00:00
christos
5819a8c09d
Import the gpt tool from FreeBSD
2006-10-15 22:34:15 +00:00