NetBSD/sbin/gpt
jnemeth 29c769ab8c Instruct user to use resizedisk if media size has changed, as
resizedisk will adjust the media size in the headers, whereas
recover simply copies the existing header over the missing one.

XXX recover and resizedisk should probably be merged (even if just
partially, so that recover can properly handle media size changes).
Also, reading in the GPT should probably be centralised so that
error handling can be centralised, and users aren't given misleading
messages (i.e. they aren't told to run recover when they should be
running resizedisk).  However, something that can be quickly pulled
up to netbsd-7 was needed, and there isn't time for a major overhaul
or rewrite.
2015-06-18 01:37:23 +00:00
..
add.c Add internal uuid support, since the linux+macos versions of the library 2014-09-30 17:59:59 +00:00
backup.c Add internal uuid support, since the linux+macos versions of the library 2014-09-30 17:59:59 +00:00
biosboot.c provide a copy of the kernel uuid generator (with portable API calls) for 2014-10-03 20:30:06 +00:00
create.c provide a copy of the kernel uuid generator (with portable API calls) for 2014-10-03 20:30:06 +00:00
destroy.c more toolification 2014-09-29 21:04:34 +00:00
drvctl.c Factor out the getdisksize() drvctl method, and provide an alternative that 2014-12-29 16:27:06 +00:00
gpt_uuid.c Add some more common partition types. 2014-12-06 12:24:22 +00:00
gpt_uuid.h provide a copy of the kernel uuid generator (with portable API calls) for 2014-10-03 20:30:06 +00:00
gpt.8 Bump date for previous. 2014-12-06 21:53:55 +00:00
gpt.c Factor out the getdisksize() drvctl method, and provide an alternative that 2014-12-29 16:27:06 +00:00
gpt.h Factor out the getdisksize() drvctl method, and provide an alternative that 2014-12-29 16:27:06 +00:00
label.c Add internal uuid support, since the linux+macos versions of the library 2014-09-30 17:59:59 +00:00
Makefile Factor out the getdisksize() drvctl method, and provide an alternative that 2014-12-29 16:27:06 +00:00
map.c minor toolification: need libprop... 2014-09-29 20:28:57 +00:00
map.h
migrate.c provide a copy of the kernel uuid generator (with portable API calls) for 2014-10-03 20:30:06 +00:00
recover.c Instruct user to use resizedisk if media size has changed, as 2015-06-18 01:37:23 +00:00
remove.c Add internal uuid support, since the linux+macos versions of the library 2014-09-30 17:59:59 +00:00
resize.c Add internal uuid support, since the linux+macos versions of the library 2014-09-30 17:59:59 +00:00
resizedisk.c oops, forgot to update end of data area 2014-10-01 03:52:42 +00:00
restore.c fix error messages containing \n 2015-06-16 23:18:54 +00:00
set.c Add internal uuid support, since the linux+macos versions of the library 2014-09-30 17:59:59 +00:00
show.c correctly show partition type in the new world order 2014-09-30 22:56:36 +00:00
type.c Fix handling of -t option for the type command. 2014-12-07 09:51:42 +00:00
unset.c Add internal uuid support, since the linux+macos versions of the library 2014-09-30 17:59:59 +00:00