The NetBSD Project

CVS log for src/sbin/gpt/recover.c

[BACK] Up to [cvs.NetBSD.org] / src / sbin / gpt

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Dec 13 21:55:25 2020 UTC (3 years, 11 months ago) by jnemeth
Branches: MAIN
CVS tags: perseant-exfatfs-base-20240630, perseant-exfatfs-base, perseant-exfatfs, netbsd-10-base, netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +3 -7 lines
PR/55875 - Valentin -- "gpt recover -r" does nothing

Delete do nothing undocumented option, that was there from initial
import.  No idea what it was intended to do and there is no longer
an "upstream".

Revision 1.17.12.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:33 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +2 -2 lines
Sync with HEAD

Revision 1.4.20.3: download - view: text, markup, annotated - select for diffs
Mon Aug 13 16:12:12 2018 UTC (6 years, 4 months ago) by martin
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE
Diff to: previous 1.4.20.2: preferred, colored; branchpoint 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4.20.2: +176 -120 lines
Catch up to current for the following, requested by sborrill in ticket #1629:

	sbin/gpt/gpt_private.h                          up to 1.2
	sbin/gpt/header.c                               up to 1.9
	sbin/gpt/main.c                                 up to 1.11
	sbin/gpt/drvctl.c				delete
	sbin/gpt/Makefile				up to 1.18
	sbin/gpt/add.c					up to 1.44
	sbin/gpt/backup.c				up to 1.18
	sbin/gpt/biosboot.c				up to 1.30
	sbin/gpt/create.c				up to 1.23
	sbin/gpt/destroy.c				up to 1.10
	sbin/gpt/gpt.8					up to 1.63
	sbin/gpt/gpt.c					up to 1.75
	sbin/gpt/gpt.h					up to 1.38
	sbin/gpt/gpt_uuid.c				up to 1.15
	sbin/gpt/gpt_uuid.h				up to 1.7
	sbin/gpt/label.c				up to 1.29
	sbin/gpt/map.c					up to 1.14
	sbin/gpt/map.h					up to 1.6
	sbin/gpt/migrate.c				up to 1.33
	sbin/gpt/recover.c				up to 1.18
	sbin/gpt/remove.c				up to 1.22
	sbin/gpt/resize.c				up to 1.23
	sbin/gpt/resizedisk.c				up to 1.17
	sbin/gpt/restore.c				up to 1.18
	sbin/gpt/set.c					up to 1.14
	sbin/gpt/show.c 				up to 1.41
	sbin/gpt/type.c 				up to 1.15
	sbin/gpt/unset.c				up to 1.14

Many changes including:
- Significant refactoring
- PR/51230: Add the ability to set the active flag in the PMBR
- Let individual commands decide if ioctl(DIOCMWEDGES) should be done
- Add a "header" subcommand that displays information about the size of
  the disk along with information from the GPT header if it exists
- Add listing commands for type, set and unset
- Add help and formatting for set and unset
- Change show to print all the attribute info in one line.
- Improve documentation, including booting and exit status
- Check device parameter to avoid segfaults

Revision 1.17.10.1: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:23 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +2 -2 lines
Sync with HEAD

Revision 1.18: download - view: text, markup, annotated - select for diffs
Tue Jul 3 03:41:24 2018 UTC (6 years, 5 months ago) by jnemeth
Branches: MAIN
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, netbsd-9-base, netbsd-9-4-RELEASE, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, is-mlppp-base, is-mlppp
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +2 -2 lines
Not all things that write to the disk do something that dk(4) will
be interested in.  Let individual commands decide if ioctl(DIOCMWEDGES)
should be done.  I was conservative and set the flag on any command
that might create/modify/delete partitions in any way.

Revision 1.16.2.1: download - view: text, markup, annotated - select for diffs
Wed Apr 26 02:52:57 2017 UTC (7 years, 7 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +2 -2 lines
Sync with HEAD

Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:13 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +2 -2 lines
Sync with HEAD

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Mar 22 19:59:16 2017 UTC (7 years, 8 months ago) by martin
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, pgoyette-localcount-20170426, pgoyette-compat-base, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +2 -2 lines
Add missing endianes swap to make the "recover" command work on big endian
machines.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Sun Jun 12 12:48:32 2016 UTC (8 years, 6 months ago) by jnemeth
Branches: MAIN
CVS tags: pgoyette-localcount-base, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +36 -10 lines
- fix setting of hdr_lba_alt which was broken in revision 1.10 on 2015/12/2
- switch to using gpt_last
- PR/51230 -- recreate the PMBR if it was lost

Revision 1.15: download - view: text, markup, annotated - select for diffs
Fri Dec 4 16:46:24 2015 UTC (9 years ago) by christos
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +4 -10 lines
Fix resizedisk.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Thu Dec 3 21:30:54 2015 UTC (9 years ago) by christos
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +3 -4 lines
CID 1341556: Don't leak map info

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Dec 3 02:02:43 2015 UTC (9 years ago) by christos
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +8 -7 lines
WARNS=6

Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Dec 3 01:07:28 2015 UTC (9 years ago) by christos
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +5 -6 lines
eliminate static globals so that commands can be re-used.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Wed Dec 2 20:42:07 2015 UTC (9 years ago) by christos
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -2 lines
don't hard-code the program name

Revision 1.10: download - view: text, markup, annotated - select for diffs
Wed Dec 2 20:41:10 2015 UTC (9 years ago) by christos
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +97 -57 lines
merge duplicated code and check allocations.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Dec 1 16:32:19 2015 UTC (9 years ago) by christos
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +16 -12 lines
Refactor the command dispatching and help printing logic.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Tue Dec 1 09:05:33 2015 UTC (9 years ago) by christos
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +104 -109 lines
Firs step of refactoring, remove all globals, factor out some common code,
handle alternate usage but not advertise it.

Revision 1.7: download - view: text, markup, annotated - select for diffs
Sun Nov 29 00:14:46 2015 UTC (9 years ago) by christos
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -5 lines
merge the create errors in one place and fix them.

Revision 1.4.20.2: download - view: text, markup, annotated - select for diffs
Mon Jun 29 17:24:28 2015 UTC (9 years, 5 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Diff to: previous 1.4.20.1: preferred, colored; branchpoint 1.4: preferred, colored
Changes since revision 1.4.20.1: +9 -2 lines
Pull up following revision(s) (requested by jnemeth in ticket #847):
	sbin/gpt/recover.c: revision 1.6
Instruct user to use resizedisk if media size has changed, as
resizedisk will adjust the media size in the headers, whereas
recover simply copies the existing header over the missing one.
XXX recover and resizedisk should probably be merged (even if just
partially, so that recover can properly handle media size changes).
Also, reading in the GPT should probably be centralised so that
error handling can be centralised, and users aren't given misleading
messages (i.e. they aren't told to run recover when they should be
running resizedisk).  However, something that can be quickly pulled
up to netbsd-7 was needed, and there isn't time for a major overhaul
or rewrite.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Thu Jun 18 01:37:23 2015 UTC (9 years, 5 months ago) by jnemeth
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +9 -2 lines
Instruct user to use resizedisk if media size has changed, as
resizedisk will adjust the media size in the headers, whereas
recover simply copies the existing header over the missing one.

XXX recover and resizedisk should probably be merged (even if just
partially, so that recover can properly handle media size changes).
Also, reading in the GPT should probably be centralised so that
error handling can be centralised, and users aren't given misleading
messages (i.e. they aren't told to run recover when they should be
running resizedisk).  However, something that can be quickly pulled
up to netbsd-7 was needed, and there isn't time for a major overhaul
or rewrite.

Revision 1.4.20.1: download - view: text, markup, annotated - select for diffs
Tue Jun 2 19:49:38 2015 UTC (9 years, 6 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-0-RC1
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -1 lines
Pull up following revision(s) (requested by jnemeth in ticket #774):
	sbin/gpt/Makefile: revisions 1.9-1.13
	sbin/gpt/add.c: revisions 1.25-1.27
	sbin/gpt/backup.c: revisions 1.2-1.8
	sbin/gpt/biosboot.c: revisions 1.8-1.14
	sbin/gpt/create.c: revisions 1.8-1.12
	sbin/gpt/destroy.c: revisions 1.5-1.6
	sbin/gpt/drvctl.c: revision 1.1
	sbin/gpt/gpt.8: revisions 1.29-1.36
	sbin/gpt/gpt.c: revisions 1.29-1.40
	sbin/gpt/gpt.h: revisions 1.12-1.18
	sbin/gpt/gpt_uuid.c: revisions 1.1-1.10
	sbin/gpt/gpt_uuid.h: revisions 1.1-1.3
	sbin/gpt/label.c: revisions 1.15-1.18
	sbin/gpt/map.c: revision 1.7
	sbin/gpt/migrate.c: revisions 1.15-1.21
	sbin/gpt/recover.c: revision 1.5
	sbin/gpt/remove.c: revisions 1.13-1.16
	sbin/gpt/resize.c: revisions 1.9-1.11
	sbin/gpt/resizedisk.c: revisions 1.1-1.6
	sbin/gpt/restore.c: revisions 1.2-1.7
	sbin/gpt/set.c: revisions 1.3-1.5
	sbin/gpt/show.c: revision 1.16-1.21
	sbin/gpt/type.c: revisions 1.1-1.6
	sbin/gpt/unset.c: revisions 1.3-1.5
- record the sector size of the disk
- correct confusion with end_cylinder and end_sector in MBRs
--
- dump all partitions, not just ones that are in use
- while here, squash a memory leak
     It shouldn't be necessary to backup unused partitions, however
the partition GUID is created at the time the GPT is created and
is never changed.  It shouldn't matter if the GUID of an unused
partition changes, but there may be some special case where it
does.  Since it isn't a big deal to record the unused partitions,
might as well do it.
--
Initial cut of gpt restore.  This functions correctly in testing,
but isn't all that pretty.  It has minimal error testing and may
leak memory.  It also only works with empty disks.  If passed "-F"
flag, it will blank the disk for you.
--
document the new restore subcommand
--
- make gpt_gpt() available for use directly by subcommands
- create new resizedisk disk subcommand for relocating backup GPT
--
Fix compile error observed on i386. Use PRIu64.
--
no C99isms in tool code
--
- handle a GPT that isn't an exact multiple of a sector
- adjust PMBR size, in case new disk is a different size
- don't leak as much memory
- clean up error handling somewhat
--
PR/44218 - David Young -- add "type" subcommand to change a partition type
--
PR/47990 - Dr. Wolfgang Stukenbrock -- add "-L <label>" as selector option
--
minor toolification: need libprop...
--
more toolification
--
more toolification changes
--
remove compat defines.
--
Add internal uuid support, since the linux+macos versions of the library
are different than than *bsd ones, and others might not have it at all.
--
Check size of correct buffer.  Note, just being pedantic as the buffer
being checked is the same size as the one that should have been checked.
--
correctly show partition type in the new world order
--
actually return the uuid when parsing one that is in numeric format
--
using random values for hdr->hdr_guid does not work very well
--
oops, forgot to update end of data area
--
It's HAVE_NBTOOL_CONFIG_H, not HAVE_NBTOOLS_CONFIG_H
--
Fix tools build on !NetBSD.
--
include <sys/endian.h> for both the non-tools build,
and the tools build on a host where the file exists.
Fixes a build problem on FreeBSD, reported by Herbert J. Skuhra, where
tools/compat's configure detected that be32dec() and friends were
available in the host's <sys/endian.h>, so tools/compat did not provide
its own versions.
--
"0" is not guaranteed to be unique
--
provide a copy of the kernel uuid generator (with portable API calls) for
tools.
--
Allow specifying sector and media size on the command line.
--
Remove trailing whitespace.
--
Make gpt(8) generate v4 (random) uuids.
Don't needlessly leak your date/time and MAC address when you edit
the disk.
Read from /dev/urandom rather than calling arc4random or anything,
since this is a tool.  (Cygwin seems to have /dev/urandom, but yell
if this breaks the build on your exotic platform because it lacks
/dev/urandom.)
ok apb
--
Paranoia: choke noisily on EOF from /dev/urandom.
--
Report the argument instead of (null) when opendisk fails.
--
handle constness
--
handle constness better
--
Add some more common partition types.
--
Bump date for previous.
--
Fix handling of -t option for the type command.
Match any type, when no option is given, just like for the label command.
--
Factor out the getdisksize() drvctl method, and provide an alternative that
directly uses the disk ioctl's instead of relying on the drvctl device driver
which is currently not mandatory.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Sep 29 20:28:57 2014 UTC (10 years, 2 months ago) by christos
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +5 -1 lines
minor toolification: need libprop...

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sat Aug 27 17:38:16 2011 UTC (13 years, 3 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-maxphys, tls-earlyentropy-base, tls-earlyentropy, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, netbsd-7-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, agc-symver-base, agc-symver
Branch point for: netbsd-7
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2 lines
Use __dead

Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Tue Jun 3 20:47:13 2008 UTC (16 years, 6 months ago) by skrll
Branches: wrstuden-fixsa
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +4 -2 lines
Sync with netbsd-4.

Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 8 20:32:38 2008 UTC (16 years, 8 months ago) by jdc
Branches: netbsd-4
CVS tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +4 -2 lines
Pull up revisions:
  src/sbin/gpt/add.c		1.5
  src/sbin/gpt/create.c		1.3
  src/sbin/gpt/destroy.c	1.3
  src/sbin/gpt/gpt.c		1.4-1.6
  src/sbin/gpt/label.c		1.5-1.6
  src/sbin/gpt/migrate.c	1.4
  src/sbin/gpt/recover.c	1.3
  src/sbin/gpt/remove.c		1.4
  src/sbin/gpt/show.c		1.3
(requested by riz in ticket #1117).

Produce more useful error messages.

Fix the usage strings for each command, and print them all for the
"global" usage.  It's still a little ugly, but hopefully not as
fantastically confusing as before...

Your friendly neighborhood 64-bit architecture here to remind you that
strlen returns size_t, and printf's precision specifier uses int.

Revision 1.2.8.1: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:38:07 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +3 -1 lines
sync with HEAD

Revision 1.2.10.1: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:46:58 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +4 -2 lines
Sync with HEAD.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Dec 18 21:46:47 2007 UTC (16 years, 11 months ago) by riz
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-pf42-base, yamt-pf42, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, mjf-devfs2, mjf-devfs-base, matt-premerge-20091211, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-premerge-20101231, matt-mips64-base2, matt-armv6-nbase, matt-armv6-base, keiichi-mipv6-base, keiichi-mipv6, jym-xensuspend-nbase, jym-xensuspend-base, jym-xensuspend, hpcarm-cleanup-nbase, hpcarm-cleanup-base, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +4 -2 lines
Fix the usage strings for each command, and print them all for the
"global" usage.  It's still a little ugly, but hopefully not as
fantastically confusing as before...

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Oct 15 22:36:29 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
CVS tags: wrstuden-fixsa-base-1, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, hpcarm-cleanup, cube-autoconf-base, cube-autoconf
Branch point for: wrstuden-fixsa, netbsd-4, mjf-devfs, matt-armv6
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +5 -0 lines
Make this work under NetBSD.

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Oct 15 22:34:15 2006 UTC (18 years, 2 months ago) by christos
Branches: FreeBSD
CVS tags: GPT20061015
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
Import the gpt tool from FreeBSD

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Oct 15 22:34:15 2006 UTC (18 years, 2 months ago) by christos
Branches: MAIN
Initial revision

Diff request

This form allows you to request diffs 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.

Log view options

CVSweb <webmaster@jp.NetBSD.org>