The NetBSD Project

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

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.11.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:33 2019 UTC (6 days, 14 hours ago) by christos
Branch: phil-wifi
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with HEAD

Revision 1.10.10.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:21 2018 UTC (9 months, 1 week ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.10.10.1: +3 -3 lines
Diff to previous 1.10.10.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.10.4.2 / (download) - annotate - [select for diffs], Tue Aug 28 13:21:42 2018 UTC (9 months, 2 weeks ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.10.4.1: +3 -3 lines
Diff to previous 1.10.4.1 (colored) to branchpoint 1.10 (colored) next main 1.11 (colored)

Pull up following revision(s) (requested by sevan in ticket #992):

	external/bsd/top/dist/top.1.in: revision 1.11
	sbin/gpt/main.c: revision 1.12
	sbin/amrctl/amrctl.c: revision 1.11
	bin/df/df.c: revision 1.93
	sbin/fsck_ext2fs/fsck_ext2fs.8: revision 1.21
	sbin/fsck_ext2fs/main.c: revision 1.38
	bin/ksh/ksh.Man: revision 1.26
	bin/ln/ln.c: revision 1.40
	bin/df/df.1: revision 1.48
	bin/df/df.1: revision 1.49

Document the WCPU field.

Match SYNOPSIS with usage()

-G cannot be specified alongside -i or -P.
Heads up by <leot>

Add -l to SYNOPSIS

Update usage to include -w

Match sequence as per SYNOPSIS in manual

Remove reference to -c flag which was never implemented.

Remove references to -c flag which was never included.

Add the -T flag to usage()

Revision 1.12 / (download) - annotate - [select for diffs], Mon Aug 27 15:50:39 2018 UTC (9 months, 2 weeks ago) by sevan
Branch: MAIN
CVS Tags: phil-wifi-20190609, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, HEAD
Changes since 1.11: +3 -3 lines
Diff to previous 1.11 (colored)

Add the -T flag to usage()

Revision 1.11.4.2 / (download) - annotate - [select for diffs], Mon Aug 13 16:12:12 2018 UTC (10 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-2-RELEASE
Changes since 1.11.4.1: +257 -0 lines
Diff to previous 1.11.4.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (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.10.4.1 / (download) - annotate - [select for diffs], Mon Apr 9 12:54:00 2018 UTC (14 months, 1 week ago) by bouyer
Branch: netbsd-8
CVS Tags: netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.10: +5 -2 lines
Diff to previous 1.10 (colored)

Pull up following revision(s) (requested by mlelstv in ticket #710):
	sbin/gpt/main.c: revision 1.11
	sbin/gpt/gpt.h: revision 1.37
	sbin/gpt/set.c: revision 1.14
	sbin/gpt/type.c: revision 1.14
	sbin/gpt/unset.c: revision 1.14
	sbin/gpt/gpt.8: revision 1.58
Check device parameter to avoid segfaults. Augment synopsis for -l option.

Revision 1.10.10.1 / (download) - annotate - [select for diffs], Thu Mar 22 01:44:40 2018 UTC (14 months, 3 weeks ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.10: +5 -2 lines
Diff to previous 1.10 (colored)

Synch with HEAD, resolve conflicts

Revision 1.11.4.1, Mon Mar 19 09:06:20 2018 UTC (14 months, 4 weeks ago) by martin
Branch: netbsd-7
Changes since 1.11: +0 -257 lines
FILE REMOVED

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

Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 19 09:06:20 2018 UTC (14 months, 4 weeks ago) by mlelstv
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322
Branch point for: phil-wifi, netbsd-7
Changes since 1.10: +5 -2 lines
Diff to previous 1.10 (colored)

Check device parameter to avoid segfaults. Agument synopsis for -l option.

Revision 1.7.4.1 / (download) - annotate - [select for diffs], Fri Apr 21 16:53:13 2017 UTC (2 years, 1 month ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.7: +45 -4 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync with HEAD

Revision 1.7.2.1 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:02 2017 UTC (2 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.7: +45 -4 lines
Diff to previous 1.7 (colored) next main 1.8 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 16 22:40:19 2017 UTC (2 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-compat-base, pgoyette-compat-0315, perseant-stdc-iso10646-base, perseant-stdc-iso10646, netbsd-8-base, matt-nb8-mediatek-base, matt-nb8-mediatek, bouyer-socketcan-base1
Branch point for: pgoyette-compat, netbsd-8
Changes since 1.9: +3 -2 lines
Diff to previous 1.9 (colored)

allow 0 timestamp

Revision 1.9 / (download) - annotate - [select for diffs], Thu Feb 16 03:32:17 2017 UTC (2 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.8: +38 -4 lines
Diff to previous 1.8 (colored)

Add -T timestamp for reproducible builds.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Feb 12 16:54:06 2017 UTC (2 years, 4 months ago) by aymeric
Branch: MAIN
Changes since 1.7: +9 -3 lines
Diff to previous 1.7 (colored)

Make gpt(8) work when compiled on a glibc-based OS.

This restores the ability to build amd64 install-image's under Linux.

Revision 1.7 / (download) - annotate - [select for diffs], Tue Dec 29 16:45:04 2015 UTC (3 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, localcount-20160914, bouyer-socketcan-base
Branch point for: pgoyette-localcount, bouyer-socketcan
Changes since 1.6: +14 -7 lines
Diff to previous 1.6 (colored)

- add more informational messages
- handle case where last argument is an option not a device (set -l)

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

WARNS=6

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

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

Revision 1.4 / (download) - annotate - [select for diffs], Tue Dec 1 16:33:55 2015 UTC (3 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

automatically enforce readonly for the commands that don't need to write.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Dec 1 16:32:19 2015 UTC (3 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.2: +56 -84 lines
Diff to previous 1.2 (colored)

Refactor the command dispatching and help printing logic.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Dec 1 09:05:33 2015 UTC (3 years, 6 months ago) by christos
Branch: MAIN
Changes since 1.1: +47 -23 lines
Diff to previous 1.1 (colored)

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

Revision 1.1 / (download) - annotate - [select for diffs], Mon Nov 30 19:59:34 2015 UTC (3 years, 6 months ago) by christos
Branch: MAIN

- automatically sync the wedge information unless -n is specified.
- document the general options in the traditional way.
- split the main program into a separate file.

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>