christos
0f11011500
CID 1341556: Don't leak map info
2015-12-03 21:30:54 +00:00
christos
c458b37c6c
- check errors from map allocation
...
- make map_resize return -1 instead of 0, and handle errors locally
explaining what's going wrong
2015-12-02 20:01:44 +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
4ab2c2d9c7
Add some debugging.
2015-11-29 14:12:35 +00:00
christos
2599c179cc
print the current map type.
2015-11-29 00:34:39 +00:00
christos
5435e55eab
- use snprintf
...
- fix bogus logic on map_type
2015-11-29 00:15:12 +00:00
christos
a50708a134
minor toolification: need libprop...
2014-09-29 20:28:57 +00:00
christos
d873a92b9b
CID 1132762: Add error check for negative, to make zero-divide in module
...
impossible.
2013-11-27 20:40:48 +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
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
f60aa973c9
cosmetic fix from drochner@
2013-10-26 20:31:23 +00:00
christos
9b52236568
Make this work under NetBSD.
2006-10-15 22:36:29 +00:00
christos
5819a8c09d
Import the gpt tool from FreeBSD
2006-10-15 22:34:15 +00:00