The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.9.2.1 / (download) - annotate - [selected], Mon Jun 10 22:05:33 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 14 10:26:10 2019 UTC (5 years, 1 month ago) by mlelstv
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, netbsd-9-base, 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, 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, is-mlppp-base, is-mlppp, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, HEAD
Changes since 1.9: +4 -4 lines
Diff to previous 1.9 (colored) to selected 1.9.2.1 (colored)

print little-endian header fields correctly.

Revision 1.9.4.2 / (download) - annotate - [select for diffs], Mon Aug 13 16:12:12 2018 UTC (5 years, 8 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.9.4.1: +108 -0 lines
Diff to previous 1.9.4.1 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored) to selected 1.9.2.1 (colored)

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.8.8.1 / (download) - annotate - [select for diffs], Mon May 7 04:00:18 2018 UTC (5 years, 11 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.9.2.1 (colored)

Pull up following revision(s) (requested by martin in ticket #797):
	sbin/gpt/gpt.8: 1.60-1.63
	sbin/gpt/header.c: 1.9
Make the "gpt header" command return EXIT_FAILURE when no GPT is present.
This helps sysinst to tell a GPT labeled disk from others.
Very lazy version of a change proposed by kre.
--
Sort sections.
--
Bump date for new EXIT STATUS section.
--
Spello.   (it is "existence").
ispell also says that we should s/parseable/parsable/ but I'm
not sure about that one, so I left it.
I also left a correct spelling that no-one has bothered to mangle!

Revision 1.8.14.1 / (download) - annotate - [select for diffs], Wed May 2 07:20:02 2018 UTC (5 years, 11 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) next main 1.9 (colored) to selected 1.9.2.1 (colored)

Synch with HEAD

Revision 1.9.4.1, Tue May 1 08:17:13 2018 UTC (5 years, 11 months ago) by martin
Branch: netbsd-7
Changes since 1.9: +0 -108 lines
FILE REMOVED

file header.c was added on branch netbsd-7 on 2018-08-13 16:12:12 +0000

Revision 1.9 / (download) - annotate - [select for diffs], Tue May 1 08:17:13 2018 UTC (5 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502
Branch point for: phil-wifi, netbsd-7
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) to selected 1.9.2.1 (colored)

Make the "gpt header" command return EXIT_FAILURE when no GPT is present.
This helps sysinst to tell a GPT labeled disk from others.
Very lazy version of a change proposed by kre.

Revision 1.8 / (download) - annotate - [select for diffs], Thu Dec 24 17:35:57 2015 UTC (8 years, 3 months ago) by martin
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, pgoyette-compat-base, 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-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: pgoyette-compat, netbsd-8
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored) to selected 1.9.2.1 (colored)

Fix output in an error case

Revision 1.7 / (download) - annotate - [select for diffs], Thu Dec 3 02:02:43 2015 UTC (8 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.6: +6 -39 lines
Diff to previous 1.6 (colored) to selected 1.9.2.1 (colored)

WARNS=6

Revision 1.6 / (download) - annotate - [select for diffs], Thu Dec 3 01:07:28 2015 UTC (8 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored) to selected 1.9.2.1 (colored)

eliminate static globals so that commands can be re-used.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Dec 1 16:32:19 2015 UTC (8 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.4: +15 -11 lines
Diff to previous 1.4 (colored) to selected 1.9.2.1 (colored)

Refactor the command dispatching and help printing logic.

Revision 1.4 / (download) - annotate - [select for diffs], Tue Dec 1 09:05:33 2015 UTC (8 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.3: +33 -42 lines
Diff to previous 1.3 (colored) to selected 1.9.2.1 (colored)

Firs step of refactoring, remove all globals, factor out some common code,
handle alternate usage but not advertise it.

Revision 1.3 / (download) - annotate - [select for diffs], Sun Nov 29 00:14:46 2015 UTC (8 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.2: +3 -5 lines
Diff to previous 1.2 (colored) to selected 1.9.2.1 (colored)

merge the create errors in one place and fix them.

Revision 1.2 / (download) - annotate - [select for diffs], Mon Nov 16 12:24:13 2015 UTC (8 years, 5 months ago) by jnemeth
Branch: MAIN
Changes since 1.1: +5 -2 lines
Diff to previous 1.1 (colored) to selected 1.9.2.1 (colored)

correctly print the gpt header revision as a "float"

Revision 1.1 / (download) - annotate - [select for diffs], Tue Nov 3 02:19:24 2015 UTC (8 years, 5 months ago) by jnemeth
Branch: MAIN
Diff to selected 1.9.2.1 (colored)

Add a "header" subcommand that displays information about the size of
the disk along with information from the GPT header if it exists.

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.




CVSweb <webmaster@jp.NetBSD.org>