aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/vnconfig
Commit message (Collapse)AuthorAgeFilesLines
* Start the dreaded NOFOO -> NO_FOO conversion.Ruslan Ermilov2004-12-211-1/+1
| | | | | | | OK'ed by: core Notes: svn path=/head/; revision=139103
* For variables that are only checked with defined(), don't provideRuslan Ermilov2004-10-241-1/+1
| | | | | | | any fake value. Notes: svn path=/head/; revision=136910
* Perform a major cleanup of the usr.sbin Makefiles.David E. O'Brien2001-07-201-2/+2
| | | | | | | | These are not perfectly in agreement with each other style-wise, but they are orders of orders of magnitude more consistent style-wise than before. Notes: svn path=/head/; revision=80029
* Include missing header files which define functions for which gcc hasDima Dorfman2001-06-241-0/+1
| | | | | | | builtints (e.g., exit, strcmp). Notes: svn path=/head/; revision=78720
* Kill vn related manual pages, they're not used any more.Ben Smithurst2001-03-291-275/+0
| | | | | | | Approved by: phk Notes: svn path=/head/; revision=74988
* Typo. Move FreeBSD Id out of copyright section.Philippe Charnier2001-03-141-4/+6
| | | | Notes: svn path=/head/; revision=74257
* Make md(4) and mdconfig(8) take over the role of vn(4) and vnconfig(8)Poul-Henning Kamp2001-03-092-616/+12
| | | | | | | | | | entirely as previously advertised. md(4) adopted all assets of vn(4) some time back and has proper devfs support and cloning abilities to boot. Notes: svn path=/head/; revision=74047
* Eliminate mdocNG warnings caused by misplaced or extraneous macro calls.Ruslan Ermilov2001-02-281-3/+3
| | | | Notes: svn path=/head/; revision=73233
* mdoc(7) police: split punctuation characters + misc fixes.Ruslan Ermilov2001-02-011-4/+10
| | | | Notes: svn path=/head/; revision=71898
* Make vnconfig annoy users for 15 seconds to make them switch to mdconfig.Poul-Henning Kamp2001-01-302-0/+12
| | | | Notes: svn path=/head/; revision=71831
* Catch up with rev 1.19 of vnconfig.c .Sheldon Hearn2001-01-031-1/+4
| | | | Notes: svn path=/head/; revision=70629
* Imply -c when -S is specified, so 'vnconfig -s reserve -S 4 vn1' configures theMatthew Dillon2000-12-311-0/+2
| | | | | | | device as expected. Notes: svn path=/head/; revision=70529
* Prepare for mdoc(7)NG.Ruslan Ermilov2000-12-271-2/+4
| | | | Notes: svn path=/head/; revision=70403
* Don't do raw device 'r' mangling.Poul-Henning Kamp2000-12-151-24/+4
| | | | | | | | | Try to use vn%d.ctl for setup and control if possible. This paves the way for a DEVFS/cloning vn driver. Notes: svn path=/head/; revision=70053
* Add `_PATH_DEVZERO'.David E. O'Brien2000-12-091-1/+2
| | | | | | | Use _PATH_* where where possible. Notes: svn path=/head/; revision=69793
* Make labels mandatory for vn(4).Poul-Henning Kamp2000-12-011-4/+2
| | | | Notes: svn path=/head/; revision=69499
* mdoc(7) police: use the new features of the Nm macro.Ruslan Ermilov2000-11-201-2/+2
| | | | Notes: svn path=/head/; revision=68965
* Fix typo: terrabytes->terabytes.Bruce A. Mah2000-10-091-1/+1
| | | | | | | | PR: docs/21837 Submitted by: Tony Finch <dot@dotat.at> Notes: svn path=/head/; revision=66897
* GC some old no longer supported options.Poul-Henning Kamp2000-09-251-1/+0
| | | | Notes: svn path=/head/; revision=66352
* Don't call warn() without a format string.Kris Kennaway2000-07-121-1/+1
| | | | Notes: svn path=/head/; revision=62988
* Improve diagnostic message when device vnconfig'ing does not exist.David E. O'Brien2000-05-141-1/+1
| | | | | | | | PR: bin/6997 Submitted-by: Notes: svn path=/head/; revision=60564
* Zap reference to /dev/rvn*Kris Kennaway2000-05-071-1/+1
| | | | Notes: svn path=/head/; revision=60125
* Typo in example: 'vn0' should be 'vn1'Gregory Sutter2000-02-171-3/+3
| | | | | | | | | | | 'boundry' --> 'boundary' 'seperated' --> 'separated' PR: 16623 Submitted by: Munehiro Matsuda <haro@tk.kubota.co.jp> Notes: svn path=/head/; revision=57271
* Do not dot terminate list of references.Philippe Charnier2000-01-231-2/+2
| | | | Notes: svn path=/head/; revision=56488
* Bring documentation up to date, add a few more vnconfig examples.Matthew Dillon1999-09-211-0/+28
| | | | Notes: svn path=/head/; revision=51490
* Fix a bug in the block number calculation for VN disks with a sectorMatthew Dillon1999-09-172-11/+119
| | | | | | | | | | | | | | | | | | | | | | | size != 512 that are configured without a label. The bug should only have effected swap-backed VN mounts without a label. Add several major features to VN. In the kernel we add a swap pre-reservation capability, which can be used to guarentee seek consistency for swap-backed VN nodes. This also incidently allows a swap-backed VN filesystem to be recovered after a crash in some cases (if the same swap blocks happen to be reserved). We also add a number of new options to vnconfig which do the work of pre-zeroing or creating/truncating/extending a file which greatly simplifies using VN in a file-backed configuration. Add FreeBSD CVS label to sys/sys/vnioctl.h, as well as a new ioctl flag for the swap pre-reservation feature. Reviewed by: Alan Cox <alc@cs.rice.edu>, David Greenman <dg@root.com> Notes: svn path=/head/; revision=51341
* Make vnconfig's device argument not require a leading "/dev/", ala "ccdconfig".Mark J. Taylor1999-08-302-7/+19
| | | | | | | | Cleanup a few "-Wall -O" warnings. Make "usage()" agree with man page. Notes: svn path=/head/; revision=50670
* $Id$ -> $FreeBSD$Peter Wemm1999-08-283-3/+3
| | | | Notes: svn path=/head/; revision=50479
* Add $Id$, to make it simpler for members of the translation teams toNik Clayton1999-07-121-0/+1
| | | | | | | | | | | | | | | | | | | | track. The Id line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde Notes: svn path=/head/; revision=48791
* Turn an error into a warning. If running a 4.x binary on a 3.x systemPoul-Henning Kamp1999-05-161-2/+2
| | | | | | | | | we may still have vn in the kernel but not be able to see it. This enables building -current SNAPS in a chroot on a -stable system Notes: svn path=/head/; revision=47247
* Submitted by: Matt Dillon <dillon@freebsd.org>Julian Elischer1999-03-142-9/+101
| | | | | | | | | | | | | | The old VN device broke in -4.x when the definition of B_PAGING changed. This patch fixes this plus implements additional capabilities. The new VN device can be backed by a file ( as per normal ), or it can be directly backed by swap. Due to dependencies in VM include files (on opt_xxx options) the new vn device cannot be a module yet. This will be fixed in a later commit. This commit delimitted by tags {PRE,POST}_MATT_VNDEV Notes: svn path=/head/; revision=44739
* Automatically load the vn module if it isn't already in the kernel.Peter Wemm1999-01-261-1/+6
| | | | Notes: svn path=/head/; revision=43216
* Document meanings of flags to the -r and -s options.Joseph Koshy1998-07-301-6/+28
| | | | Notes: svn path=/head/; revision=37967
* Use err(3). Add prototypes. Document -s and -r flags.Philippe Charnier1997-10-272-54/+71
| | | | Notes: svn path=/head/; revision=30766
* compare return value from getopt against -1 rather than EOF, per the finalWarner Losh1997-03-311-1/+1
| | | | | | | posix standard on the topic. Notes: svn path=/head/; revision=24428
* Use new mount args (mount "ufs" instead of MOUNT_UFS).Bruce Evans1997-03-291-1/+1
| | | | | | | | | | | vnconfig doesn't seem to be in Lite2, although dev/vn is. The Lite2 merge in userland has converted all mount calls except this one and one for devfs in init, so we can drop support for old mount args soon. Vnconfig probably shouldn't support mounting - it only supports ufs. Notes: svn path=/head/; revision=24371
* Update to compile under Lite2 fs include layoutPeter Wemm1997-03-111-0/+1
| | | | Notes: svn path=/head/; revision=23703
* Revert $FreeBSD$ to $Id$Peter Wemm1997-02-221-1/+1
| | | | Notes: svn path=/head/; revision=22997
* Xref the new vn(4) man page.Mike Pritchard1997-02-131-1/+2
| | | | Notes: svn path=/head/; revision=22666
* Sort cross references.Wolfram Schneider1997-01-201-1/+1
| | | | Notes: svn path=/head/; revision=21880
* Make the long-awaited change from $Id$ to $FreeBSD$Jordan K. Hubbard1997-01-141-1/+1
| | | | | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise. Notes: svn path=/head/; revision=21673
* man page link swapfile.8 -> vnconfig.8Wolfram Schneider1996-02-021-1/+2
| | | | Notes: svn path=/head/; revision=13843
* The vnconfig man page needs updating (change vndXX to vnXX).Rodney W. Grimes1995-07-081-7/+9
| | | | | | | | | | The -a option description is not very visible. Submitted by: Pierre Beyssac <pb@fasterix.freenix.fr> Obtained from: PR docs/447 Notes: svn path=/head/; revision=9441
* Remove trailing whitespace.Rodney W. Grimes1995-05-301-3/+3
| | | | Notes: svn path=/head/; revision=8857
* The changes to support the new flags in the vn driver.Poul-Henning Kamp1995-03-111-6/+81
| | | | Notes: svn path=/head/; revision=6999
* The vnconfig program.Poul-Henning Kamp1994-12-043-0/+539
Notes: svn path=/head/; revision=4966