Up to [local] / src / sbin / vnconfig
Request diff between arbitrary revisions
Default branch: MAIN
Revision 1.13 / (download) - annotate - [select for diffs], Sun May 14 18:34:02 2023 UTC (12 months, 2 weeks ago) by krw
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE,
OPENBSD_7_5,
OPENBSD_7_4_BASE,
OPENBSD_7_4,
HEAD
Changes since 1.12: +2 -1 lines
Diff to previous 1.12 (colored)
Improve emulation of a disktab entry (-t) by using the type specified in the disktab entry (:dt:) when setting the default disklabel's d_type. This will enable installboot(8) to know the vnd device should be treated as a floppy disk. Feedback & improved field packing from millert@
Revision 1.12 / (download) - annotate - [select for diffs], Tue Oct 4 06:52:52 2022 UTC (19 months, 4 weeks ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_3_BASE,
OPENBSD_7_3
Changes since 1.11: +5 -3 lines
Diff to previous 1.11 (colored)
Don't print device when passed as an argument r1.11 "Don't print device name on failure" made it print unconditionally, which contradicts what the manual says. Report + diff from Brin Conway <bconway AT rcesoftware DOT com>, thanks. From Brian Conway
Revision 1.11 / (download) - annotate - [select for diffs], Thu Sep 1 01:52:08 2022 UTC (21 months ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE,
OPENBSD_7_2
Changes since 1.10: +7 -5 lines
Diff to previous 1.10 (colored)
Don't print device name on failure Noticed by mistake (wanted `-l'): # vnconfig l vnd0 vnconfig: VNDIOCSET: No such file or directory Same happens if you try to load a bogus file: # vnconfig ./empty vnd0 vnconfig: VNDIOCSET: Input/output error In both cases, the info on stdout is useless as vnd0 is not used. Defer printing the device until after the file is set up: # ./obj/vnconfig l vnconfig: VNDIOCSET: No such file or directory # ./obj/vnconfig ./empty vnconfig: VNDIOCSET: Input/output error OK deraadt
Revision 1.10 / (download) - annotate - [select for diffs], Sat Aug 20 06:39:24 2022 UTC (21 months, 1 week ago) by kn
Branch: MAIN
Changes since 1.9: +4 -6 lines
Diff to previous 1.9 (colored)
-k and -K are mutually exclusive, make usage match manual OK millert
Revision 1.9 / (download) - annotate - [select for diffs], Fri Aug 19 18:56:26 2022 UTC (21 months, 1 week ago) by kn
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)
Zap useless cast opendev(3) takes a const char * (since 2012, thanks tb), just what getinfo() provides. No amd64 object change. OK millert tb
Revision 1.8 / (download) - annotate - [select for diffs], Tue Aug 16 16:18:16 2022 UTC (21 months, 2 weeks ago) by kn
Branch: MAIN
Changes since 1.7: +2 -5 lines
Diff to previous 1.7 (colored)
Remove -c compat Ought to go in 2020 already. OK deraadt
Revision 1.7 / (download) - annotate - [select for diffs], Mon Oct 25 19:54:29 2021 UTC (2 years, 7 months ago) by kn
Branch: MAIN
CVS Tags: OPENBSD_7_1_BASE,
OPENBSD_7_1
Changes since 1.6: +2 -2 lines
Diff to previous 1.6 (colored)
Zap unused variables/functions under /usr/src/*bin/ OK deraadt
Revision 1.6 / (download) - annotate - [select for diffs], Wed Sep 22 20:43:16 2021 UTC (2 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.5: +2 -1 lines
Diff to previous 1.5 (colored)
if the key is a secret to be cleared with explicit_bzero, then the length of that key is also a secret, may as well clear it also
Revision 1.5 / (download) - annotate - [select for diffs], Fri Jun 28 13:32:46 2019 UTC (4 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: 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
Changes since 1.4: +6 -6 lines
Diff to previous 1.4 (colored)
When system calls indicate an error they return -1, not some arbitrary value < 0. errno is only updated in this case. Change all (most?) callers of syscalls to follow this better, and let's see if this strictness helps us in the future.
Revision 1.4 / (download) - annotate - [select for diffs], Sun Apr 28 16:28:00 2019 UTC (5 years, 1 month ago) by jmc
Branch: MAIN
Changes since 1.3: +2 -2 lines
Diff to previous 1.3 (colored)
fix misplaced hyphen in usage();
Revision 1.3 / (download) - annotate - [select for diffs], Sun Apr 28 14:46:00 2019 UTC (5 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.2: +59 -42 lines
Diff to previous 1.2 (colored)
Remove need for -A option, lack of a vnd_dev option implies creating a vnd. Seperate out the code a fair bit.
Revision 1.2 / (download) - annotate - [select for diffs], Thu Apr 25 18:05:03 2019 UTC (5 years, 1 month ago) by deraadt
Branch: MAIN
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)
Push verbose information to stderr, to avoid confusion with -A's output.
Revision 1.1 / (download) - annotate - [select for diffs], Thu Apr 25 16:50:36 2019 UTC (5 years, 1 month ago) by deraadt
Branch: MAIN
Split vnconfig out of mount_vnd, and begin work on a vnd-allocation option which will ease distribution build. not connected to the build yet.