History log of /src/usr.sbin/vnconfig |
Revision | Date | Author | Comments |
1.8 | 09-Jun-2013 |
jmmv | Fix LINKS spec.
|
1.7 | 09-Jun-2013 |
christos | Alias this to vndconfig for symmetry.
|
1.6 | 30-Nov-2002 |
lukem | branches: 1.6.54; 1.6.60; add DPADD for ${LIBUTIL}
|
1.5 | 29-Sep-1997 |
enami | Use opendisk(3).
|
1.4 | 30-Dec-1995 |
thorpej | Add RCS ids.
|
1.3 | 22-Dec-1994 |
cgd | specify man pages the new way.
|
1.2 | 23-Dec-1993 |
cgd | add Id and clean up
|
1.1 | 21-Dec-1993 |
brezak | Add vnconfig command.
|
1.6.60.1 | 23-Jun-2013 |
tls | resync from head
|
1.6.54.1 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.51 | 10-Feb-2025 |
gutteridge | vnconfig.8: fix grammar in a sentence
|
1.50 | 21-Oct-2023 |
gdt | branches: 1.50.2; vnconfig.8: Don't mention ciphertext
After all, this is not cgd(4).
|
1.49 | 21-Oct-2023 |
gdt | vnconfig: Improve recent caching edit to man page
Explain that typical usage patterns don't run into consistency issues. Xref the -i flag.
Leave ambiguous the nature of cache inconsistency, because I don't undersstand it and it's best not to make it a defined interface anyway. I am unclear on whether a buffer cache read before a vnd session might persist after a vnd is configured/used/unconfigured, and whether a buffer cache write might be delayed until after a vnd configure/write.
|
1.48 | 20-Oct-2023 |
wiz | New sentence, new line. Bump date for previous.
|
1.47 | 20-Oct-2023 |
gdt | vnconfig: Add caution to man page about cache bypassing behavior
|
1.46 | 09-Jan-2021 |
wiz | Add magic incantation to configure an image for mount_udf(8).
|
1.45 | 07-Oct-2018 |
wiz | Sort options.
|
1.44 | 07-Oct-2018 |
mlelstv | Add flag to enforce file I/O even when bmap/strategy would be possible. This makes it easier to compare both modes, it also allows coherent operation between vnd device and image file.
|
1.43 | 01-May-2018 |
uwe | branches: 1.43.2; Fix missed s/vnconfig/vndconfig/ in an example.
|
1.42 | 10-Apr-2016 |
wiz | branches: 1.42.14; Sort sections. Use more markup.
|
1.41 | 10-Apr-2016 |
martin | Cosmetic tweaks to vncfonfig -l output, from Robert Elz (with minor tweaks [and all bugs] by me). This should restore compatibility for old scripts trying to find free vnodes in the new cloning world order.
|
1.40 | 05-Nov-2015 |
pgoyette | Update to keep up with reality. In NetBSD 7, the vnconfig command was renamed. So add this fact to the HISTORY section and remove BUGS.
XXX Pull-up to NetBSD-7 !
|
1.39 | 09-Jun-2013 |
christos | branches: 1.39.6; 1.39.8; bump date.
|
1.38 | 09-Jun-2013 |
christos | Alias this to vndconfig for symmetry.
|
1.37 | 08-Jul-2012 |
wiz | branches: 1.37.2; From Bug Hunting: Add vndcompress(1) to SEE ALSO, bump date.
While here: New sentence, new line.
|
1.36 | 09-Feb-2011 |
rmind | branches: 1.36.4; Restore historic SCCS IDs in the comments (were removed in previous commit). Noted by wiz@.
|
1.35 | 08-Feb-2011 |
rmind | Remove clause 3 (UCB advertising clause) from the University of Utah copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks! Also, merge UCB and Utah copyright texts back into one, as they originally were.
Extra verification by snj@.
|
1.34 | 02-May-2008 |
martin | branches: 1.34.18; Move TNF licenses to 2 clause form
|
1.33 | 11-Sep-2005 |
wiz | branches: 1.33.18; Argument is regular_file, not "regular file". From YOMURA Masanori in private mail.
|
1.32 | 18-Jul-2005 |
wiz | Grammar fixes.
|
1.31 | 18-Jul-2005 |
wiz | Drop trailing whitespace.
|
1.30 | 17-Jul-2005 |
hubertf | Add support for reading cloop2 compressed filesystem image, enable by putting VND_COMPRESSION into kernel config file. Written by Cliff Wright, polished up slightly by me.
|
1.29 | 07-Aug-2003 |
agc | branches: 1.29.6; Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
|
1.28 | 16-Apr-2003 |
wiz | Sort options in SYNOPSIS and description.
|
1.27 | 11-Apr-2003 |
drochner | Add an interface to the "force" option, and fix a bug where the "readonly" flag cleared "hasgeom".
|
1.26 | 27-Mar-2003 |
yamt | bump date.
|
1.25 | 27-Mar-2003 |
yamt | add a new option, -r; read-only configuration.
|
1.24 | 25-Feb-2003 |
wiz | .Nm does not need a dummy argument ("") before punctuation or for correct formatting of the SYNOPSIS any longer.
|
1.23 | 21-Jun-2002 |
atatat | Provide a means for vnconfig to indicate which devices are in use, and by which files (hmm...why can't I unmount that file system over there). Currently this is just the device and inode number of the file backing the vnd, but hopefully consing up full pathnames can be done at some point.
|
1.22 | 05-Mar-2002 |
wiz | Drop duplicate .Pp.
|
1.21 | 02-Feb-2002 |
wiz | Sort sections, sort SEE ALSO, drop a .Pp.
|
1.20 | 12-Dec-2001 |
fredette | Add optional "-f disktab" argument, that will look up a disk typename in the given disktab(5) file, instead of in /etc/disktab.
|
1.19 | 08-Nov-2001 |
christos | Now that vnconfig uses opendisk(3) update it's usage encouraging use of "vnd0" instead of "/dev/rvnd0{c,d}". Noted by tron.
|
1.18 | 02-Oct-2000 |
bjh21 | Put sections in the canonical order (from mdoc.samples(7)). Add a "HISTORY" section.
|
1.17 | 02-Oct-2000 |
bjh21 | Replace "foo is mutually exclusive of bar" with "foo and bar are mutually exclusive".
|
1.16 | 30-Sep-2000 |
bjh21 | Formatting cleanups around the description of geomspec.
|
1.15 | 20-Jul-2000 |
agc | Fix typo.
|
1.14 | 22-Mar-1999 |
garbled | branches: 1.14.10; More and more .Os cleanups. .Os is defined in the tmac.doc-common file, so we shouldn't override it with versions in the manpages. Many more to come.
|
1.13 | 22-May-1998 |
msaitoh | sort entries and delete extra periods in SEE also section.
|
1.12 | 18-Oct-1997 |
lukem | WARNSify
|
1.11 | 01-Oct-1997 |
enami | - Xref opendisk(3). - Refer vnode disk as vnd0 instaed of vnd0c. - Rename argument to specify vnode disk from special_file to vnode_disk. - Explain that vnode_disk is a special file or name like vnd0. - Add one example which uses vnd0 instead of /dev/vnd0c.
|
1.10 | 30-Jul-1997 |
jtc | Fix files using old TNF copyright notice
|
1.9 | 26-Jun-1997 |
kleink | Fix typo; from SAITOH Masanobu <msaitoh@spa.is.uec.ac.jp> in PR misc/3796.
|
1.8 | 23-Jun-1997 |
thorpej | Update for changes to the vnd driver: - Add optional "geomspec" argument as third argument when configuring a vnode disk. Format is: secsize/secpertrack/trackpercyl/ncylinders, e.g. 512/18/2/80. - Add optional "-t typename" argument, mutually exclusive with "geomspec", that will look up "typename" in /etc/disktab and use the geometry specified in the entry. - Update verbose output accordingly.
|
1.7 | 30-Dec-1995 |
thorpej | Add RCS ids.
|
1.6 | 30-Dec-1995 |
thorpej | Add a vnd(4) manual page and make vnconfig(8) reference it. Fixes PR #445.
|
1.5 | 25-Jan-1995 |
cgd | vn -> vnd renaming; consistency.
|
1.4 | 22-Jan-1995 |
mycroft | Clean up parsing a bit. Get rid of bogus extra arg to `-u'. Update the usage string and man page to reality.
|
1.3 | 22-Jan-1995 |
glass | vnconfig.c: removed all the silly mount/swapon functionality that never belonged there. much of it didn't work anyway. vnconfig.8: update man page. still needs work.
|
1.2 | 03-Jan-1994 |
brezak | Change /dev/vn0c to /dev/vnd0c (from jimj@miller.cs.uwm.edu)
|
1.1 | 21-Dec-1993 |
brezak | Add vnconfig command.
|
1.14.10.2 | 03-Oct-2000 |
bjh21 | Pull up revisions 1.15 and 1.17 (approved by thorpej): Fix grammer in vnconfig(8).
|
1.14.10.1 | 01-Oct-2000 |
bjh21 | Pull up revision 1.16 (approved by jhawk): Fix formatting around description of geomspec in vnconfig(8).
|
1.29.6.1 | 14-Aug-2005 |
riz | Pull up revision 1.30 (requested by hubertf in ticket #625): Add support for reading cloop2 compressed filesystem images, enable by putting VND_COMPRESSION into kernel config file. Written by Cliff Wright, polished up slightly by me.
|
1.33.18.1 | 18-May-2008 |
yamt | sync with head.
|
1.34.18.1 | 17-Feb-2011 |
bouyer | Sync with HEAD
|
1.36.4.2 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.36.4.1 | 30-Oct-2012 |
yamt | sync with head
|
1.37.2.1 | 23-Jun-2013 |
tls | resync from head
|
1.39.8.2 | 10-Apr-2016 |
martin | Pull up following revision(s) (requested by christos in ticket #1076): usr.sbin/vnconfig/vnconfig.8: revision 1.41 usr.sbin/vnconfig/vnconfig.c: revision 1.43-1.44 Since now the kernel returns ENXIO again for devices exceeding the number of devices configured in the kernel, use that instead of scanning /dev. Cosmetic tweaks to vncfonfig -l output. This should restore compatibility for old scripts trying to find free vnodes in the new cloning world order.
|
1.39.8.1 | 08-Nov-2015 |
riz | Pull up following revision(s) (requested by pgoyette in ticket #1025): usr.sbin/vnconfig/vnconfig.8: revision 1.40 Update to keep up with reality. In NetBSD 7, the vnconfig command was renamed. So add this fact to the HISTORY section and remove BUGS. XXX Pull-up to NetBSD-7 !
|
1.39.6.2 | 10-Apr-2016 |
martin | Pull up following revision(s) (requested by christos in ticket #1076): usr.sbin/vnconfig/vnconfig.8: revision 1.41 usr.sbin/vnconfig/vnconfig.c: revision 1.43-1.44 Since now the kernel returns ENXIO again for devices exceeding the number of devices configured in the kernel, use that instead of scanning /dev. Cosmetic tweaks to vncfonfig -l output. This should restore compatibility for old scripts trying to find free vnodes in the new cloning world order.
|
1.39.6.1 | 08-Nov-2015 |
riz | Pull up following revision(s) (requested by pgoyette in ticket #1025): usr.sbin/vnconfig/vnconfig.8: revision 1.40 Update to keep up with reality. In NetBSD 7, the vnconfig command was renamed. So add this fact to the HISTORY section and remove BUGS. XXX Pull-up to NetBSD-7 !
|
1.42.14.2 | 20-Oct-2018 |
pgoyette | Sync with head
|
1.42.14.1 | 02-May-2018 |
pgoyette | Synch with HEAD
|
1.43.2.1 | 10-Jun-2019 |
christos | Sync with HEAD
|
1.50.2.1 | 02-Aug-2025 |
perseant | Sync with HEAD
|
1.48 | 07-Oct-2018 |
wiz | Sort options.
|
1.47 | 07-Oct-2018 |
mlelstv | Add flag to enforce file I/O even when bmap/strategy would be possible. This makes it easier to compare both modes, it also allows coherent operation between vnd device and image file.
|
1.46 | 12-Mar-2018 |
christos | branches: 1.46.2; improve previous, use getprogname() to get the invocation name.
|
1.45 | 12-Mar-2018 |
khorben | Reflect the new name of vndconfig(8) in the usage screen
vnconfig(8) was renamed to vndconfig(8) in NetBSD 7. While the manual page now defaults to vndconfig, the usage screen still referred to the old name.
|
1.44 | 10-Apr-2016 |
martin | branches: 1.44.14; Cosmetic tweaks to vncfonfig -l output, from Robert Elz (with minor tweaks [and all bugs] by me). This should restore compatibility for old scripts trying to find free vnodes in the new cloning world order.
|
1.43 | 09-Nov-2015 |
christos | Since now the kernel returns ENXIO again for devices exceeding the number of devices configured in the kernel, use that instead of scanning /dev. XXX: pullup to 7 together with the kernel change.
|
1.42 | 23-May-2014 |
dholland | branches: 1.42.2; 1.42.4; PR bin/48829 Thomas Schmitt: vnconfig pretends to succeed on nonexistent files
|
1.41 | 09-Jun-2013 |
christos | branches: 1.41.4; Now that we grow vnd's dynamically we cannot depend on the kernel returning ENXIO when we exceed the number of configured vnds, so in the -l case, print info for all vnds we can find device nodes for in /dev.
|
1.40 | 30-Aug-2011 |
joerg | branches: 1.40.2; 1.40.8; ANSIfy + static + __dead
|
1.39 | 08-Feb-2011 |
rmind | Remove clause 3 (UCB advertising clause) from the University of Utah copyright. Confirmed by Mike Hibler, mike at cs.utah.edu - thanks! Also, merge UCB and Utah copyright texts back into one, as they originally were.
Extra verification by snj@.
|
1.38 | 06-Dec-2009 |
dsl | branches: 1.38.2; VNDIOCSET now returns a 64bit unsigned size. Use compat ioctls if the kernel rejects the request. Fixes PR/41873.
|
1.37 | 19-Apr-2009 |
lukem | Fix -Wcast-qual and -Wshadow issues
|
1.36 | 29-Dec-2008 |
christos | branches: 1.36.2; fix dev_t format.
|
1.35 | 28-Apr-2008 |
martin | Remove clause 3 and 4 from TNF licenses
|
1.34 | 19-Aug-2005 |
christos | branches: 1.34.18; 64 bit inode changes
|
1.33 | 17-Jul-2005 |
hubertf | Add support for reading cloop2 compressed filesystem image, enable by putting VND_COMPRESSION into kernel config file. Written by Cliff Wright, polished up slightly by me.
|
1.32 | 02-Jun-2005 |
lukem | appease gcc -Wuninitialized
|
1.31 | 21-Apr-2004 |
christos | branches: 1.31.2; Replace the statfs() family of system calls with statvfs(). Retain binary compatibility.
|
1.30 | 25-Jan-2004 |
atatat | Print device names and mount points, if at all possible, instead of just printing device numbers.
|
1.29 | 07-Aug-2003 |
agc | Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22366, verified by myself.
|
1.28 | 16-Apr-2003 |
wiz | Sync usage with man page.
|
1.27 | 11-Apr-2003 |
drochner | Add an interface to the "force" option, and fix a bug where the "readonly" flag cleared "hasgeom".
|
1.26 | 27-Mar-2003 |
yamt | add a new option, -r; read-only configuration.
|
1.25 | 21-Jun-2002 |
atatat | Provide a means for vnconfig to indicate which devices are in use, and by which files (hmm...why can't I unmount that file system over there). Currently this is just the device and inode number of the file backing the vnd, but hopefully consing up full pathnames can be done at some point.
|
1.24 | 12-Dec-2001 |
fredette | Add optional "-f disktab" argument, that will look up a disk typename in the given disktab(5) file, instead of in /etc/disktab.
|
1.23 | 08-Nov-2001 |
tron | Try to open the file before configuring a vnode disk device to avoid silly error messages when the file cannot be opened for some reason. This fixes PR bin/12445 by <knotwell@ix.netcom.com>.
|
1.22 | 08-Nov-2001 |
christos | Revert previous change that accepts non-raw devices as argument. The distrib Makefiles have been adjusted appropriately. This change made block devices and char devices look the same to the naive user, and it is not appropriate.
|
1.21 | 07-Nov-2001 |
tron | Invoke "opendisk" with "iscooked = 1" because existing makefiles and the manual page used the block device.
|
1.20 | 26-Sep-2001 |
lukem | <sys/stat.h> is unnecessary
|
1.19 | 20-Mar-2000 |
jdolecek | branches: 1.19.4; __POOL_EXPOSE is no longer needed (dev/vndvar.h does protect vnd_softc from userland)
|
1.18 | 16-Feb-2000 |
enami | Define __POOL_EXPOSE almost at the beginning, instead of just before dev/vndvar.h or dev/ccdvar.h so that struct pool is always available regardless of multiple inclusion. Actually, ccdconfig.c compiles without this change but ...
|
1.17 | 01-Apr-1999 |
veego | Define __POOL_EXPOSE for <dev/vndvar.h>.
|
1.16 | 19-Jan-1999 |
tron | Include "disktab.h" to get prototype for getdiskbyname().
|
1.15 | 18-Oct-1997 |
lukem | WARNSify
|
1.14 | 29-Sep-1997 |
enami | In the function config(),
- Back to use `rdev' which the name of raw partition, since now opendisk(3) initializes `buf' except in very trivial case (it is `buf' is NULL). - Use `rdev' instead of `dev' in verbose output. - Output `rdev' when warn ioctl failure.
|
1.13 | 29-Sep-1997 |
enami | In the function config(),
- Use `dev' instead of `rdev' to warn, since latter may not initialized. - Don't use device file name as a format of warn(). Instead, pass "%s" explicitly.
|
1.12 | 29-Sep-1997 |
enami | Use opendisk(3).
|
1.11 | 30-Jul-1997 |
jtc | Fix files using old TNF copyright notice
|
1.10 | 08-Jul-1997 |
mikel | check geometry string more carefully; from Enami Tsugutomo in PR bin/3809. free string from rawdevice(); part of Enami's PR bin/3810 include <unistd.h> for close() prototype, prototype config(), and other misc. cleanup
|
1.9 | 23-Jun-1997 |
thorpej | Update for changes to the vnd driver: - Add optional "geomspec" argument as third argument when configuring a vnode disk. Format is: secsize/secpertrack/trackpercyl/ncylinders, e.g. 512/18/2/80. - Add optional "-t typename" argument, mutually exclusive with "geomspec", that will look up "typename" in /etc/disktab and use the geometry specified in the entry. - Update verbose output accordingly.
|
1.8 | 30-Dec-1995 |
thorpej | Add RCS ids.
|
1.7 | 25-Jan-1995 |
cgd | vn -> vnd renaming; consistency.
|
1.6 | 22-Jan-1995 |
mycroft | Remove specal case on VNIOCCLR return value.
|
1.5 | 22-Jan-1995 |
mycroft | Clean up parsing a bit. Get rid of bogus extra arg to `-u'. Update the usage string and man page to reality.
|
1.4 | 22-Jan-1995 |
glass | vnconfig.c: removed all the silly mount/swapon functionality that never belonged there. much of it didn't work anyway. vnconfig.8: update man page. still needs work.
|
1.3 | 23-Dec-1994 |
cgd | include necessary headers, improve declarations.
|
1.2 | 18-Apr-1994 |
cgd | don't special case EBUSY when configging; if you try to do it 2x, second is err
|
1.1 | 21-Dec-1993 |
brezak | Add vnconfig command.
|
1.19.4.1 | 25-Nov-2001 |
he | Pull up revision 1.23 (requested by tron): Try to open the file before configuring a vnode device, so that we avoid silly error messages when the file cannot be opened for some reason. Fixes PR#12445.
|
1.31.2.1 | 14-Aug-2005 |
riz | Pull up revision 1.33 (requested by hubertf in ticket #625): Add support for reading cloop2 compressed filesystem images, enable by putting VND_COMPRESSION into kernel config file. Written by Cliff Wright, polished up slightly by me.
|
1.34.18.1 | 18-May-2008 |
yamt | sync with head.
|
1.36.2.1 | 13-May-2009 |
jym | Sync with HEAD.
Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
|
1.38.2.1 | 17-Feb-2011 |
bouyer | Sync with HEAD
|
1.40.8.2 | 20-Aug-2014 |
tls | Rebase to HEAD as of a few days ago.
|
1.40.8.1 | 23-Jun-2013 |
tls | resync from head
|
1.40.2.1 | 22-May-2014 |
yamt | sync with head.
for a reference, the tree before this commit was tagged as yamt-pagecache-tag8.
this commit was splitted into small chunks to avoid a limitation of cvs. ("Protocol error: too many arguments")
|
1.41.4.1 | 10-Aug-2014 |
tls | Rebase.
|
1.42.4.1 | 10-Apr-2016 |
martin | Pull up following revision(s) (requested by christos in ticket #1076): usr.sbin/vnconfig/vnconfig.8: revision 1.41 usr.sbin/vnconfig/vnconfig.c: revision 1.43-1.44 Since now the kernel returns ENXIO again for devices exceeding the number of devices configured in the kernel, use that instead of scanning /dev. Cosmetic tweaks to vncfonfig -l output. This should restore compatibility for old scripts trying to find free vnodes in the new cloning world order.
|
1.42.2.1 | 10-Apr-2016 |
martin | Pull up following revision(s) (requested by christos in ticket #1076): usr.sbin/vnconfig/vnconfig.8: revision 1.41 usr.sbin/vnconfig/vnconfig.c: revision 1.43-1.44 Since now the kernel returns ENXIO again for devices exceeding the number of devices configured in the kernel, use that instead of scanning /dev. Cosmetic tweaks to vncfonfig -l output. This should restore compatibility for old scripts trying to find free vnodes in the new cloning world order.
|
1.44.14.2 | 20-Oct-2018 |
pgoyette | Sync with head
|
1.44.14.1 | 15-Mar-2018 |
pgoyette | Synch with HEAD
|
1.46.2.1 | 10-Jun-2019 |
christos | Sync with HEAD
|