OpenBSD CVS

CVS log for src/usr.sbin/vnconfig/Attic/vnconfig.c


[BACK] Up to [local] / src / usr.sbin / vnconfig

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.28, Sat May 26 21:39:46 2007 UTC (17 years ago) by grunk
Branch: MAIN
CVS Tags: HEAD
Changes since 1.27: +1 -1 lines
FILE REMOVED

link mount_vnd to the build, and remove usr.sbin/vnconfig, which is now
completely contained at the new place.  provide a legacy link to /usr/sbin
to go away after next release.

ok deraadt@

Revision 1.27 / (download) - annotate - [select for diffs], Tue Apr 10 15:28:55 2007 UTC (17 years, 1 month ago) by tedu
Branch: MAIN
Changes since 1.26: +7 -3 lines
Diff to previous 1.26 (colored)

if vnconfig can't get the info, it should say so, not just print nothing.
ok grunk pedro

Revision 1.26 / (download) - annotate - [select for diffs], Wed Mar 14 17:59:41 2007 UTC (17 years, 2 months ago) by grunk
Branch: MAIN
Changes since 1.25: +5 -4 lines
Diff to previous 1.25 (colored)

do the adjustment of arbitrary 128 -> BLF_MAXUTILIZED in userland as well,
also discussed on tech@ a while ago.

ok pedro@ tedu@ thib@

Revision 1.25 / (download) - annotate - [select for diffs], Fri Feb 23 11:00:02 2007 UTC (17 years, 3 months ago) by grunk
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored)

use correct variable in error message:  print the filename, not the key

ok ray@ thib@

Revision 1.24 / (download) - annotate - [select for diffs], Sat Feb 17 10:52:28 2007 UTC (17 years, 3 months ago) by thib
Branch: MAIN
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored)

for -k option, bail out immediately if getpass()
doesnt return sth usefull.

ok deraadt@

Revision 1.23 / (download) - annotate - [select for diffs], Thu Feb 8 16:21:09 2007 UTC (17 years, 3 months ago) by grunk
Branch: MAIN
Changes since 1.22: +13 -14 lines
Diff to previous 1.22 (colored)

prevent vnconfig from asking for a key when unconfiguring or listing devices.
even clarify this further by supplying NULL and 0 to action() for -u case

ok pedro@, no objections bluhm@

Revision 1.22 / (download) - annotate - [select for diffs], Fri Feb 2 08:54:43 2007 UTC (17 years, 4 months ago) by grunk
Branch: MAIN
Changes since 1.21: +19 -6 lines
Diff to previous 1.21 (colored)

Make -c, -l and -u mutually exclusive, they indicate the mode of operation.
Point out that using -S with anything else than -K is useless.

"looks good" pedro@, no objections otto@

Revision 1.21 / (download) - annotate - [select for diffs], Sat Jan 27 10:34:46 2007 UTC (17 years, 4 months ago) by grunk
Branch: MAIN
Changes since 1.20: +18 -10 lines
Diff to previous 1.20 (colored)

add an option -S for specifying the salt file for -K .  If not given, user
is prompted like before.

ok tedu@ pedro@ otto@
manpage help and ok jmc@

Revision 1.20 / (download) - annotate - [select for diffs], Tue Dec 26 22:55:20 2006 UTC (17 years, 5 months ago) by grunk
Branch: MAIN
Changes since 1.19: +85 -69 lines
Diff to previous 1.19 (colored)

make -k and -K mutually exclusive, and ignore multiple invocations of them.
put pcks key initialization into a separate routine instead of bloating the
getopt() loop.

ok pedro@ deraadt@ tedu@

Revision 1.19 / (download) - annotate - [select for diffs], Wed Sep 20 13:51:19 2006 UTC (17 years, 8 months ago) by pedro
Branch: MAIN
Changes since 1.18: +3 -3 lines
Diff to previous 1.18 (colored)

Make vnd(4) work on read-only file systems, from Paul Stoeber, okay tedu@

Revision 1.18 / (download) - annotate - [select for diffs], Sat Jul 1 07:36:27 2006 UTC (17 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.17: +3 -4 lines
Diff to previous 1.17 (colored)

simplify synopsis/usage(); ok tedu

Revision 1.17 / (download) - annotate - [select for diffs], Fri Jun 30 16:09:27 2006 UTC (17 years, 11 months ago) by tedu
Branch: MAIN
Changes since 1.16: +77 -10 lines
Diff to previous 1.16 (colored)

add -K option which uses a salt file and pkcs5 pbkdf2 to create a
more secure key.  with feedback from djm and markus
pkcs5 pbkdf2 code from netbsd's cgdconfig

Revision 1.16 / (download) - annotate - [select for diffs], Tue Sep 14 22:35:51 2004 UTC (19 years, 8 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

vnd key is u_char *

Revision 1.15 / (download) - annotate - [select for diffs], Sun Jun 27 22:14:38 2004 UTC (19 years, 11 months ago) by jolan
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

cast to quell a warning, ok pedro@

Revision 1.14 / (download) - annotate - [select for diffs], Sun Jun 20 19:16:37 2004 UTC (19 years, 11 months ago) by pedro
Branch: MAIN
Changes since 1.13: +3 -2 lines
Diff to previous 1.13 (colored)

mention new -l option, some nitpicks
mdoc tutoring and ok jfb@

Revision 1.13 / (download) - annotate - [select for diffs], Sun Jun 20 18:04:54 2004 UTC (19 years, 11 months ago) by pedro
Branch: MAIN
Changes since 1.12: +55 -2 lines
Diff to previous 1.12 (colored)

make vnconfig use the new VNDIOCGET ioctl to retrieve information about
the status of vnode disks, ok millert@

Revision 1.12 / (download) - annotate - [select for diffs], Tue Jun 24 23:26:58 2003 UTC (20 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_5_BASE, OPENBSD_3_5, OPENBSD_3_4_BASE, OPENBSD_3_4
Changes since 1.11: +11 -18 lines
Diff to previous 1.11 (colored)

o don't need to include <sys/stat.h>
o include <fcntl.h>, not <sys/fcntl.h>
o mark usage() __dead
o kill '?' in getopt switch
o use __progname in usage()
o ANSI function declarations
Most from Andrey Matveev

Revision 1.11 / (download) - annotate - [select for diffs], Mon Jun 2 23:36:55 2003 UTC (21 years ago) by millert
Branch: MAIN
Changes since 1.10: +2 -6 lines
Diff to previous 1.10 (colored)

Remove the advertising clause in the UCB license which Berkeley
rescinded 22 July 1999.  Proofed by myself and Theo.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Mar 30 12:59:11 2003 UTC (21 years, 2 months ago) by hugh
Branch: MAIN
Changes since 1.9: +1 -0 lines
Diff to previous 1.9 (colored)

Add rcs tag.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Feb 16 21:28:10 2002 UTC (22 years, 3 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_3_BASE, OPENBSD_3_3, OPENBSD_3_2_BASE, OPENBSD_3_2, OPENBSD_3_1_BASE, OPENBSD_3_1
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Part one of userland __P removal.  Done with a simple regexp with some minor hand editing to make comments line up correctly.  Another pass is forthcoming that handles the cases that could not be done automatically.

Revision 1.8 / (download) - annotate - [select for diffs], Fri Dec 7 00:11:53 2001 UTC (22 years, 6 months ago) by niklas
Branch: MAIN
Changes since 1.7: +1 -1 lines
Diff to previous 1.7 (colored)

Make vnds larger than 2G work, mostly by Daniel Lucq <daniel@lucq.org>.

Revision 1.7 / (download) - annotate - [select for diffs], Thu Nov 8 11:20:48 2001 UTC (22 years, 6 months ago) by mpech
Branch: MAIN
Changes since 1.6: +1 -1 lines
Diff to previous 1.6 (colored)

-c is defualt. minor mdoc changes.
Spotted by form@.

millert@ ok +help

Revision 1.4.4.1 / (download) - annotate - [select for diffs], Fri Oct 6 21:24:22 2000 UTC (23 years, 8 months ago) by jason
Branch: OPENBSD_2_7
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Pull in patch from current:
Fix (millert):
warnx?/errx? paranoia (use "%s" not a bare string unless it is a
constant).  These are not security holes but it is worth fixing
them anyway both for robustness and so folks looking for examples
in the tree are not misled into doing something potentially dangerous.
Furthermore, it is a bad idea to assume that pathnames will not
include '%' in them and that error routines don't return strings
with '%' in them (especially in light of the possibility of locales).

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jun 30 16:00:27 2000 UTC (23 years, 11 months ago) by millert
Branch: MAIN
CVS Tags: OPENBSD_3_0_BASE, OPENBSD_3_0, OPENBSD_2_9_BASE, OPENBSD_2_9, OPENBSD_2_8_BASE, OPENBSD_2_8
Changes since 1.5: +1 -1 lines
Diff to previous 1.5 (colored)

warnx?/errx? paranoia (use "%s" not a bare string unless it is a
constant).  These are not security holes but it is worth fixing
them anyway both for robustness and so folks looking for examples
in the tree are not misled into doing something potentially dangerous.
Furthermore, it is a bad idea to assume that pathnames will not
include '%' in them and that error routines don't return strings
with '%' in them (especially in light of the possibility of locales).

Revision 1.5 / (download) - annotate - [select for diffs], Tue Jun 20 21:29:20 2000 UTC (23 years, 11 months ago) by provos
Branch: MAIN
Changes since 1.4: +20 -7 lines
Diff to previous 1.4 (colored)

add encryption for svnd's for Erich <hh@cyberpass.net>.  You can do a
poor man's encrypted file system with this.  Blame the Greek. okay niklas@

Revision 1.4 / (download) - annotate - [select for diffs], Mon Aug 16 19:23:14 1999 UTC (24 years, 9 months ago) by art
Branch: MAIN
CVS Tags: OPENBSD_2_7_BASE, OPENBSD_2_6_BASE, OPENBSD_2_6
Branch point for: OPENBSD_2_7
Changes since 1.3: +4 -1 lines
Diff to previous 1.3 (colored)

slight cleanup

Revision 1.3 / (download) - annotate - [select for diffs], Sun Dec 22 01:46:46 1996 UTC (27 years, 5 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_2_5_BASE, OPENBSD_2_5, OPENBSD_2_4_BASE, OPENBSD_2_4, OPENBSD_2_3_BASE, OPENBSD_2_3, OPENBSD_2_2_BASE, OPENBSD_2_2, OPENBSD_2_1_BASE, OPENBSD_2_1
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

document that "vnd0" works

Revision 1.2 / (download) - annotate - [select for diffs], Sat Dec 21 05:07:43 1996 UTC (27 years, 5 months ago) by deraadt
Branch: MAIN
Changes since 1.1: +4 -24 lines
Diff to previous 1.1 (colored)

use opendev()

Revision 1.1.1.1 / (download) - annotate - [select for diffs] (vendor branch), Wed Oct 18 08:48:31 1995 UTC (28 years, 7 months ago) by deraadt
CVS Tags: netbsd_1_1, OPENBSD_2_0_BASE, OPENBSD_2_0
Changes since 1.1: +0 -0 lines
Diff to previous 1.1 (colored)

initial import of NetBSD tree

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 18 08:48:31 1995 UTC (28 years, 7 months ago) by deraadt
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.