summaryrefslogtreecommitdiff
path: root/sbin/mount_vnd
AgeCommit message (Collapse)Author
2011-07-04No point in documenting "Encryption only works with vnd".Matthew Dempsky
2011-04-18Deprecate vnds in favour of svnds.Thordur I. Bjornsson
In effect, this removes the "old" vndX nodes, and renames the svndX nodes to vndX. Old svndX nodes will still continue to work though, for now. Cleanup accordingly. ok deraadt@, todd@ comments and ok on the man page bits from jmc@
2011-01-29no need for fopen, when opendev gives us a perfectly good fd.Ted Unangst
from "maurice"
2010-12-18remove david as author. he is not to blame for the current C implementation.Ted Unangst
ok david
2010-04-15there is in fact no default salt file nameTed Unangst
2010-04-12remove pkcs5 implementation here and use the one from bioctl. no libcryptoTed Unangst
dependency. and some other tweaks. from mikeb. ok djm
2009-02-15should fsck the raw device; spotted by frantisek holop and mentioned onTheo de Raadt
the mailing lists two weeks ago, and completely ignored I guess.
2008-09-03Replace -s (sector size) option with more general -t (disktype)Kenneth R Westerback
option which makes the vnd device emulate the geometry of the specified disktab(5) entry. No change in behaviour or geometry unless -t is used. API for vnd configuration ioctl (VNDIOCSET) changes, so mount_vnd must be in sync with kernel. Tested & ok jsing@ 'Lovely' deraadt@
2008-08-15Add -s option to usage().Joel Sing
Prompted by jmc@ ok jmc@
2008-08-14Allow the sector size to be specified by the user when configuring aJoel Sing
vnd(4) device, via a new -s option to vnconfig/mount_vnd. This allows us to create disklabels and file systems that are suitable for use on devices that have a non-512 byte sector size (eg. CDROMs). With help from krw@ and feedback from pedro@. ok krw@, pedro@
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
2008-06-14finish djm@'s job of making mount_vnd -Wall clean, and mark this in theAlexander von Gernler
Makefile. ok djm@, "get the M's out of my tree" deraadt@
2008-06-13-Wall friendly (missing "static", signed vs. unsigned comparison)Damien Miller
2008-05-26no need for such a wordy .Nd; ok grunkJason McIntyre
2008-05-26- put CAVEATS in the right placeJason McIntyre
- filesystem -> file system, for consistency; from Pierre Riteau
2008-05-26fix example in manpage, spotted by Jacek MasiulaniecAlexander von Gernler
While there, stress the idea that users should always have a disklabel inside their vnd images, so they can fsck their filesystems properly input from otto@, corrections by jmc@, "looks better" deraadt@
2008-05-03remove unused functionsCharles Longeau
from tobias@ ok ray@ tobias@
2007-09-29default to svnds now to accomodate change in the vnd driver.Felix Kronlage
from Piotr Durlej with man-page nits from me tested henning@, krw@, thib@ and myself. ok thib@, grunk@, krw@
2007-09-11rearrange the mount_vnd examples to show the equivalent entry for eachAlexandre Anriot
vnconfig example, instead of having a bunch of different examples. discussed with and ok jmc@ grunk@
2007-09-05remove compat link to /usr/sbin/vnconfig, the program is in /sbin for oneAlexander von Gernler
release now. ok deraadt@ todd@
2007-09-02use calloc() to avoid malloc(n * m) overflows; checked by djm canacar jsgTheo de Raadt
2007-06-01since real boottime vnd support would have caused many problems,Alexander von Gernler
do a poor man's (but yet working) solution and provide the user with instructions to enhance fstab(5) and rc.local(8) with own boot time support. tweaks and ok jmc@
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-27Simplify symlink creation. ok grunkAlexander Bluhm
2007-05-27sync usage(); ok grunkJason McIntyre
2007-05-27sync argument names; ok grunkJason McIntyre
2007-05-27Prevent buf[-1] access if strlen(buf) == 0.Ray Lai
Simplify some if-else statements while here. OK grunk@ and tedu@.
2007-05-26tweaks;Jason McIntyre
2007-05-26link mount_vnd to the build, and remove usr.sbin/vnconfig, which is nowAlexander von Gernler
completely contained at the new place. provide a legacy link to /usr/sbin to go away after next release. ok deraadt@
2007-05-26improve the EXAMPLES for fstab entries of mount_vnd(8):Alexander von Gernler
- reduce the number of used svnd devs to the default number of an OpenBSD System - make it more obvious that vnd's w/ different levels or no encryption can be specified. diff from Okan Demirmen, thanks
2007-05-26make mount_vnd a C program by pulling in the vnconfig(8) source and addingAlexander von Gernler
a mount_vnd(8) interface to it. merge manpages as well. next goal is to have this here completely replace the usr.sbin/vnconfig directory. prodded by many, manpage discussion and help jmc@, "go ahead" deraadt@
2007-05-02clarify error message; ok grunk@David Krause
2007-04-14oops, sort options;Jason McIntyre
2007-04-14introduce {fsck,mount}_vnd tools to be able to describe vnd imagesAlexander von Gernler
in /etc/fstab instead of using some weird homegrown scripts. No support for boot time mounting yet, so "noauto" is still needed. original idea from david@ help and discussion todd@ bluhm@ beck@, manpage help jmc@ ok simon@ tedu@ bluhm@ todd@, "looks good" thib@