Commit Graph

13 Commits

Author SHA1 Message Date
dogcow c96865e412 more -Wsign-compare fixes. 2009-04-18 06:37:35 +00:00
mrg 5f6c58ab32 apply a few casts to quieten GCC4. 2006-05-25 09:04:37 +00:00
he 4076227c4a Apply fixes so that this builds with WARNS=3.
Renames instances of "index" to "ix", and fixes a number of -Wcast-qual
problems by liberally sprinkling const declarations around.

This should now build again for both macppc and mac68k.

Patches sent to original maintainer.
2005-07-13 15:25:29 +00:00
dbj 3ce67e6c14 deal with editing partitions past the detected media size.
When deleting the final partition, truncate it to match media size.
Also handle creating new partitions beyond the existing partitions
if it is still within the media size.
2004-06-14 07:48:55 +00:00
itojun e1e0321817 use bounded string op 2003-08-13 02:51:20 +00:00
dbj 7217a44a7f ensure variable is initialized 2003-04-24 07:05:21 +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 8ce174cfdf comment out bogus attempt to zero first byte after map on disk 2003-04-22 18:19:39 +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 5038245b63 use sbBlkSize when calculating sbBlkCount 2002-09-08 16:17:45 +00:00
dbj f72f04ea8e comment out force of logical block is no larger than physical block. 2002-08-23 00:59:36 +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