summaryrefslogtreecommitdiffstats
path: root/usr.sbin/dev_mkdb (follow)
Commit message (Collapse)AuthorAgeFilesLines
* unveil the required paths. "r" to inspect /dev, and "rwc" forderaadt2018-10-181-3/+13
| | | | | the database. (OpenBSD's first commit was at this moment, 23 years ago)
* correct sizeof to use correct buffer, rather than another buffer (whichderaadt2018-08-091-2/+2
| | | | was the same size)
* change Xrs from now-defunct db(3) to dbopen(3); this wasn;t ajmc2015-11-301-5/+6
| | | | | | | straight replace: thanks both to schwarze and maja for feedback on how to rewrite parts; i've snuck in an rcs id->openbsd id change in dev_mkdb too;
* Implement real "flock" request and add it to userland programs thatmillert2015-10-161-2/+2
| | | | use pledge and file locking. OK deraadt@
* kvm_mkdb & dev_mkdb are quite similar. pledge "stdio rpath wpath cpath"deraadt2015-10-121-1/+4
| | | | except kvm_mkdb also does "getpw".
* reduce .Nd to one line and kill .Tn while hereschwarze2015-09-101-5/+3
|
* Replace <sys/param.h> with <limits.h> and other less dirty headers wherederaadt2015-01-161-3/+2
| | | | | | | | | possible. Annotate <sys/param.h> lines with their current reasons. Switch to PATH_MAX, NGROUPS_MAX, HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc. Change MIN() and MAX() to local definitions of MINIMUM() and MAXIMUM() where sensible to avoid pulling in the pollution. These are the files confirmed through binary verification. ok guenther, millert, doug (helped with the verification protocol)
* remove erroneous char cast to switch expression processing getopt(3);okan2013-11-271-2/+2
| | | | | | not used in any cases. ok deraadt@, guenther@, millert@
* rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andderaadt2009-10-271-12/+1
| | | | | | | unmaintainable). these days, people use source. these id's do not provide any benefit, and do hurt the small install media (the 33,000 line diff is essentially mechanical) ok with the idea millert, ok dms
* convert to new .Dd format;jmc2007-05-311-2/+2
|
* nlist.h not neededderaadt2005-04-041-4/+2
|
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-022-13/+5
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* ansideraadt2002-07-141-6/+4
|
* kill more registers.mpech2002-03-141-4/+4
| | | | millert@ ok
* 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.millert2002-02-161-3/+3
|
* set bsize for hash to some reasonable value instead ofmickey2000-10-031-3/+9
| | | | | | defaulting to the underlying fs block size. add rcsid tag. millert@ ok.
* some MAXPATHLEN +1 thingiesderaadt1999-12-051-2/+2
|
* The proper order of the ``introductory'' macros in a man page is .Dd/.Dt/.Os.aaron1999-07-071-2/+2
| | | | | | | Out of the approximately 1450 man pages, only about 90 of them were wrong. Thanks to kwesterback@home.com for coming up with a script and patch to repair this. The patch also inserted a .Os macro in the few man pages that were missing one.
* remove trailing whitespace, some Nm cleanupaaron1999-06-051-4/+4
|
* usr.sbin/ man page repairs, a-iaaron1998-11-081-8/+14
|
* $OpenBSD$deraadt1997-09-211-2/+1
|
* getopt(3) returns -1 when out of args, not EOF, whee!millert1997-01-151-2/+2
|
* fix warningderaadt1996-08-291-2/+2
|
* initial import of NetBSD treederaadt1995-10-183-0/+241