History log of /openbsd-current/sbin/pdisk/pdisk.8
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_5_9_BASE OPENBSD_6_0_BASE OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.31 23-Feb-2016 krw

A disk name of /dev/wd0c doesn't work. Correct verbiage and example.

Discovered by rpe@. Tweaked by schwarze@.

ok rpe@ schwarze@ jmc@ deraadt@


# 1.30 28-Jan-2016 jmc

more tweaks; ok krw


# 1.29 28-Jan-2016 krw

Tweak verbiage for 'r' (reorder) command.


# 1.28 27-Jan-2016 krw

Clear out some repetitive and pointless verbiage. Shuffle other
verbiage around to make things clearer.


# 1.27 27-Jan-2016 krw

Tweak some verbiage.


# 1.26 27-Jan-2016 jmc

tweak previous; ok krw


# 1.25 27-Jan-2016 krw

Remove some lies and pointless verbiage. Tweak HISTORY.


# 1.24 27-Jan-2016 krw

Check block 0 signature, physical block size and physical block count when
reading partition map.

Check for unmapped physical blocks and overlapping partitions when reading
partition map.

No need for duplicate checks in validate_map(), so remove validate.c from
build and 'v' command from code and docs.


# 1.23 22-Jan-2016 jmc

escape punctuation to have it mark up properly;


# 1.22 22-Jan-2016 krw

Nuke 'expert' mode and the enabling, undocumented, '-d' flag by
just making all the commands available all the time. Document the
newly available commands.

Remove the former 'P' command (list partitions in base address
order) and use 'P' from expert mode (show map data structures).

Stop accepting uppercase aliases for commands documented as lower
case.

Bring the 'h' help text and man pages into agreement.

ok jasper@ millert@


# 1.21 12-Jan-2016 krw

Use normal err/errx/warn/warnx rather than handrolling new ones. Move
usage() to pdisk.c and nuke do_help() and '-h'.

ok jasper@ deraadt@


# 1.20 12-Jan-2016 krw

Retire '-i', a poorly documented interactive mode that tries to
mimic the 20th century MacOS version of pdisk more closely than the
usual interactive editor. One set of commands is enough for anyone.

ok jasper@


# 1.19 11-Jan-2016 krw

Remove '-v' and related version handling. Use strncasecmp() instead
of handrolled local istrncmp(). No need to compile util.c anymore.

ok deraadt@ jasper@


Revision tags: OPENBSD_4_9_BASE OPENBSD_5_0_BASE OPENBSD_5_1_BASE OPENBSD_5_2_BASE OPENBSD_5_3_BASE OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE
# 1.18 26-Aug-2010 jmc

- fdisk(8), not fdisk(1)
- zap trailing whitespace


# 1.17 21-Aug-2010 ray

Use .Dq for double quotes and properly .Xr fdisk(1).

OK jmc


Revision tags: OPENBSD_4_8_BASE
# 1.16 25-May-2010 jmc

no Pp before/after Sh/Ss;


# 1.15 25-May-2010 deraadt

use opendev(), as requested in 6373. document this using text borrowed from
disklabel(8), and while at it, fix the usage code to not be utterly distasteful
ok drahn


Revision tags: OPENBSD_4_2_BASE OPENBSD_4_3_BASE OPENBSD_4_4_BASE OPENBSD_4_5_BASE OPENBSD_4_6_BASE OPENBSD_4_7_BASE
# 1.14 31-May-2007 jmc

convert to new .Dd format;


Revision tags: OPENBSD_4_0_BASE OPENBSD_4_1_BASE
# 1.13 27-Apr-2006 martin

update for pdisk 0.8a2, from NetBSD, retaining our local changes;
summing it up:

- Clean up sources - fix naming, delete old email addresses
- Added support for display of Mac volume names
- Fix block 0 display to show logical offset of drivers
- Require confirmation of quit without write
- Fix iteration to not complain about missing devices
- Warn when creating/writing a map with more than 15 entries

and, most important, add do_update_dpme() which allows us to partition
OpenBSD slices without previous MacOS setup.

Tested with shared MacOS install on macppc, procedure there remains the
same.

grammer and spelling help and ok jmc@

ok miod@


Revision tags: OPENBSD_3_8_BASE OPENBSD_3_9_BASE
# 1.12 25-Apr-2005 martin

- no longer macppc only
- intel/dos->Intel/DOS
- standard way of writing 'Mac OS'


Revision tags: OPENBSD_3_4_BASE OPENBSD_3_5_BASE OPENBSD_3_6_BASE OPENBSD_3_7_BASE
# 1.11 03-Jun-2003 jmc

- section reorder
- some mdoc fixes


Revision tags: OPENBSD_3_3_BASE
# 1.10 18-Feb-2003 jmc

copyrights added;

bootpef(8), pppd(8): Carnegie Mellon
map-mbone(8), mrinfo(8): Xerox
pdisk(8): Apple
awk(1): Lucent
sectok(3): University of Michigan


# 1.9 09-Feb-2003 jmc

typos;


# 1.8 06-Jan-2003 cloder

typo: s/initalize/initialize


Revision tags: OPENBSD_3_1_BASE OPENBSD_3_2_BASE
# 1.7 21-Dec-2001 mpech

Finish mdoc convert (while i'm here):
o) add arch name do .Dt tag;
o) sort arguments in .SYNOPSIS and .DESCRIPTION;
o) sort SEE ALSO;
o) .BR -> .Em;
o) .br -> .Pp;
o) our email format is: .An ... Aq <...>;
o) minor mdoc changes;

millert@ ok;


# 1.6 21-Dec-2001 mpech

Initial patch for a new mdoc issue.
Powered by @mantoya:
o) kill extra line in the end of file;
o) kill extra space in the end of line;
o) replace blank lines with .Pp;

millert@ ok


# 1.5 13-Dec-2001 mpech

o) start new sentence on a new line;
o) wrap long lines;
o) fix bogus .Xr usage;
o) we don't like blank lines;
o) always close .Bl tags;
o) OpenBSD -> .Ox;
o) don't like .Pp before .Ss;

millert@ ok;


Revision tags: OPENBSD_3_0_BASE
# 1.4 12-Oct-2001 drahn

Manpage changes to go with addition of the 't' command, and cleanup
By Alexander Guy.


# 1.3 02-Aug-2001 mpech

o) .Sh AUTHOR -> .Sh AUTHORS;
o) .Sh EXAMPLE -> .Sh EXAMPLES;
o) Delete .Sh OPTIONS. Text moved to .Sh DESCRIPTION;

millert@ ok


Revision tags: OPENBSD_2_9_BASE
# 1.2 22-Apr-2001 drahn

Update pdisk manpage to match formatting for other manpages, corrections
appropriate for openbsd.


# 1.1 24-Mar-2001 drahn

branches: 1.1.1;
Initial revision