Commit Graph

16 Commits

Author SHA1 Message Date
itojun e1e0321817 use bounded string op 2003-08-13 02:51:20 +00:00
dbj 263ed6747c reenable include <getopt.h> for getopt_long(3) 2003-04-24 04:15:58 +00:00
dbj 729bd4d1af fix nits to compile and function on osX 2003-04-24 03:38:53 +00:00
dbj 47e126059c add support for selecting root, user, or swap in the Block Zero Block bits
when setting Apple_UNIX_SVR2.
Correctly update dpme flags when partition is changed to Apple_HFS
Properly reread Apple_HFS volume name when partition is changed to Apple_HFS
update man page to reflect new functionality
document t command in man page
2003-04-24 03:34:34 +00:00
dbj a693779b76 avoid freeing uninitialized pointer 2003-04-22 17:04:06 +00:00
wiz 65eac0ca35 Sort help here (just like in the man page). 2003-03-03 07:36:05 +00:00
soren 98bd894cee Add command to change partition types directly.
From Alexander Guy via OpenBSD.
2003-02-18 16:20:37 +00:00
wiz 1035faff1d writable, not writeable. 2003-01-06 20:30:28 +00:00
dbj 0270296979 when creating a partition, set bzb bits appropriate for netbsd root 2002-09-17 07:42:55 +00:00
dbj a587e4b1e8 remove menu and command line options to list all devices since they
only work on linux.  Update documentation to match.
2002-09-09 13:07:36 +00:00
dbj a46307b17e default fflag (read HFS volume name ) option is now off
remove the non-functional -p/--pname argument, replace it with -f/--fname
add -a (use abbreviations) and -L (use logical offsets) to getopt parse list
thanks to wiz for noticing inconsistencies
2002-09-09 10:46:59 +00:00
dbj 28d41a2531 use getopt_long on netbsd as well as linux 2002-09-08 23:49:29 +00:00
dbj 47b77fc755 improved wording on explanation for disabling linux max partition warning. 2002-09-08 23:25:43 +00:00
dbj b3ad08828d disable warnings about linux only handling 15 entries.
This check was found to not exist in the linux fdisk-0.1
sources, which are under current linuxppc use.  Also,
NetBSD users probably care less about warnings for bugs
in old versions of linux.
2002-09-08 23:18:11 +00:00
dbj 6ee55a329c on exit, check map pointer before accessing it.
this prevents core dump when map wasn't found on disk
2002-08-22 22:35:22 +00:00
dbj a1246c73e0 import pdisk utility from Eryk Vershen:
http://cantaforda.com/cfcl/eryk/linux/pdisk/index.html
this is the utility provided by mklinux and osX to manipulate
the Apple Partition map.
2002-07-09 05:49:02 +00:00