summaryrefslogtreecommitdiffstats
path: root/usr.sbin/vnconfig/vnconfig.c
Commit message (Collapse)AuthorAgeFilesLines
* Typo. Move FreeBSD Id out of copyright section.charnier2001-03-141-4/+6
|
* Make md(4) and mdconfig(8) take over the role of vn(4) and vnconfig(8)phk2001-03-091-614/+11
| | | | | | | 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.
* Make vnconfig annoy users for 15 seconds to make them switch to mdconfig.phk2001-01-301-0/+6
|
* Imply -c when -S is specified, so 'vnconfig -s reserve -S 4 vn1' configures thedillon2000-12-311-0/+2
| | | | device as expected.
* Don't do raw device 'r' mangling.phk2000-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.
* Add `_PATH_DEVZERO'.obrien2000-12-091-1/+2
| | | | Use _PATH_* where where possible.
* GC some old no longer supported options.phk2000-09-251-1/+0
|
* Don't call warn() without a format string.kris2000-07-121-1/+1
|
* Improve diagnostic message when device vnconfig'ing does not exist.obrien2000-05-141-1/+1
| | | | | PR: bin/6997 Submitted-by:
* Fix a bug in the block number calculation for VN disks with a sectordillon1999-09-171-8/+96
| | | | | | | | | | | | | | | | | | | | 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>
* Make vnconfig's device argument not require a leading "/dev/", ala "ccdconfig".mtaylor1999-08-301-4/+16
| | | | | Cleanup a few "-Wall -O" warnings. Make "usage()" agree with man page.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Turn an error into a warning. If running a 4.x binary on a 3.x systemphk1999-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
* Submitted by: Matt Dillon <dillon@freebsd.org>julian1999-03-141-7/+90
| | | | | | | | | | | 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
* Automatically load the vn module if it isn't already in the kernel.peter1999-01-261-1/+6
|
* Use err(3). Add prototypes. Document -s and -r flags.charnier1997-10-271-36/+41
|
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-311-1/+1
| | | | posix standard on the topic.
* Use new mount args (mount "ufs" instead of MOUNT_UFS).bde1997-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.
* Update to compile under Lite2 fs include layoutpeter1997-03-111-0/+1
|
* Remove trailing whitespace.rgrimes1995-05-301-3/+3
|
* The changes to support the new flags in the vn driver.phk1995-03-111-6/+81
|
* The vnconfig program.phk1994-12-041-0/+368
OpenPOWER on IntegriCloud