OpenBSD CVS

CVS log for src/sbin/pdisk/pdisk.8


[BACK] Up to [local] / src / sbin / pdisk

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.31 / (download) - annotate - [select for diffs], Tue Feb 23 03:34:17 2016 UTC (8 years, 3 months ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7, OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2, OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9, HEAD
Changes since 1.30: +6 -6 lines
Diff to previous 1.30 (colored)

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

Discovered by rpe@. Tweaked by schwarze@.

ok rpe@ schwarze@ jmc@ deraadt@

Revision 1.30 / (download) - annotate - [select for diffs], Thu Jan 28 07:57:19 2016 UTC (8 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.29: +8 -5 lines
Diff to previous 1.29 (colored)

more tweaks; ok krw

Revision 1.29 / (download) - annotate - [select for diffs], Thu Jan 28 01:07:39 2016 UTC (8 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.28: +2 -2 lines
Diff to previous 1.28 (colored)

Tweak verbiage for 'r' (reorder) command.

Revision 1.28 / (download) - annotate - [select for diffs], Wed Jan 27 20:24:50 2016 UTC (8 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.27: +22 -41 lines
Diff to previous 1.27 (colored)

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

Revision 1.27 / (download) - annotate - [select for diffs], Wed Jan 27 20:11:00 2016 UTC (8 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.26: +5 -5 lines
Diff to previous 1.26 (colored)

Tweak some verbiage.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Jan 27 17:21:19 2016 UTC (8 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.25: +2 -1 lines
Diff to previous 1.25 (colored)

tweak previous; ok krw

Revision 1.25 / (download) - annotate - [select for diffs], Wed Jan 27 15:56:47 2016 UTC (8 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.24: +10 -29 lines
Diff to previous 1.24 (colored)

Remove some lies and pointless verbiage. Tweak HISTORY.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Jan 27 14:19:59 2016 UTC (8 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.23: +1 -3 lines
Diff to previous 1.23 (colored)

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.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jan 22 07:41:14 2016 UTC (8 years, 4 months ago) by jmc
Branch: MAIN
Changes since 1.22: +3 -3 lines
Diff to previous 1.22 (colored)

escape punctuation to have it mark up properly;

Revision 1.22 / (download) - annotate - [select for diffs], Fri Jan 22 00:38:53 2016 UTC (8 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.21: +29 -23 lines
Diff to previous 1.21 (colored)

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@

Revision 1.21 / (download) - annotate - [select for diffs], Tue Jan 12 20:09:39 2016 UTC (8 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.20: +3 -7 lines
Diff to previous 1.20 (colored)

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@

Revision 1.20 / (download) - annotate - [select for diffs], Tue Jan 12 15:32:08 2016 UTC (8 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.19: +3 -7 lines
Diff to previous 1.19 (colored)

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@

Revision 1.19 / (download) - annotate - [select for diffs], Mon Jan 11 18:43:06 2016 UTC (8 years, 4 months ago) by krw
Branch: MAIN
Changes since 1.18: +3 -5 lines
Diff to previous 1.18 (colored)

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

ok deraadt@ jasper@

Revision 1.18 / (download) - annotate - [select for diffs], Thu Aug 26 17:55:10 2010 UTC (13 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8, OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3, OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1, OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)

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

Revision 1.17 / (download) - annotate - [select for diffs], Sat Aug 21 06:46:52 2010 UTC (13 years, 9 months ago) by ray
Branch: MAIN
Changes since 1.16: +5 -4 lines
Diff to previous 1.16 (colored)

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

OK jmc

Revision 1.16 / (download) - annotate - [select for diffs], Tue May 25 20:57:07 2010 UTC (14 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_8_BASE, OPENBSD_4_8
Changes since 1.15: +2 -3 lines
Diff to previous 1.15 (colored)

no Pp before/after Sh/Ss;

Revision 1.15 / (download) - annotate - [select for diffs], Tue May 25 19:01:32 2010 UTC (14 years ago) by deraadt
Branch: MAIN
Changes since 1.14: +24 -33 lines
Diff to previous 1.14 (colored)

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 1.14 / (download) - annotate - [select for diffs], Thu May 31 19:19:46 2007 UTC (17 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6, OPENBSD_4_5_BASE, OPENBSD_4_5, OPENBSD_4_4_BASE, OPENBSD_4_4, OPENBSD_4_3_BASE, OPENBSD_4_3, OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

convert to new .Dd format;

Revision 1.13 / (download) - annotate - [select for diffs], Thu Apr 27 19:52:21 2006 UTC (18 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1, OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.12: +14 -10 lines
Diff to previous 1.12 (colored)

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 1.12 / (download) - annotate - [select for diffs], Mon Apr 25 01:32:16 2005 UTC (19 years, 1 month ago) by martin
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.11: +4 -4 lines
Diff to previous 1.11 (colored)

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

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jun 3 13:16:08 2003 UTC (21 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7, OPENBSD_3_6_BASE, OPENBSD_3_6, OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.10: +12 -9 lines
Diff to previous 1.10 (colored)

- section reorder
- some mdoc fixes

Revision 1.10 / (download) - annotate - [select for diffs], Tue Feb 18 07:51:09 2003 UTC (21 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3
Changes since 1.9: +20 -0 lines
Diff to previous 1.9 (colored)

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

Revision 1.9 / (download) - annotate - [select for diffs], Sun Feb 9 07:26:45 2003 UTC (21 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.8: +13 -13 lines
Diff to previous 1.8 (colored)

typos;

Revision 1.8 / (download) - annotate - [select for diffs], Mon Jan 6 07:00:10 2003 UTC (21 years, 5 months ago) by cloder
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7 (colored)

typo: s/initalize/initialize

Revision 1.7 / (download) - annotate - [select for diffs], Fri Dec 21 16:59:43 2001 UTC (22 years, 5 months ago) by mpech
Branch: MAIN
CVS Tags: OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.6: +19 -22 lines
Diff to previous 1.6 (colored)

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;

Revision 1.6 / (download) - annotate - [select for diffs], Fri Dec 21 11:41:50 2001 UTC (22 years, 5 months ago) by mpech
Branch: MAIN
Changes since 1.5: +12 -14 lines
Diff to previous 1.5 (colored)

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

Revision 1.5 / (download) - annotate - [select for diffs], Thu Dec 13 20:16:48 2001 UTC (22 years, 5 months ago) by mpech
Branch: MAIN
Changes since 1.4: +3 -1 lines
Diff to previous 1.4 (colored)

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 1.4 / (download) - annotate - [select for diffs], Fri Oct 12 05:17:01 2001 UTC (22 years, 7 months ago) by drahn
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0
Changes since 1.3: +11 -5 lines
Diff to previous 1.3 (colored)

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

Revision 1.3 / (download) - annotate - [select for diffs], Thu Aug 2 18:37:34 2001 UTC (22 years, 10 months ago) by mpech
Branch: MAIN
Changes since 1.2: +1 -1 lines
Diff to previous 1.2 (colored)

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

millert@ ok

Revision 1.2 / (download) - annotate - [select for diffs], Sun Apr 22 14:02:00 2001 UTC (23 years, 1 month ago) by drahn
Branch: MAIN
CVS Tags: OPENBSD_2_9_BASE, OPENBSD_2_9
Changes since 1.1: +100 -123 lines
Diff to previous 1.1 (colored)

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

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Sat Mar 24 00:13:49 2001 UTC (23 years, 2 months ago) by drahn
Branch: apple19980218
CVS Tags: ver1
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

Import of pdisk from apple, BSD licensed code. Archive dated Feb 18 1998 
This is a HFS partition editing tool.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Mar 24 00:13:49 2001 UTC (23 years, 2 months ago) by drahn
Branch: MAIN

Initial revision

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.