summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Strip out bogus difference from when this came from NetBSD: transliteratingjmallett2003-03-031-17/+1
| | | | | | | | | | | | | | | | | | upper-case alphabetical characters to lower-case ones, and spaces to dashes. The person who added this when bringing the code from NetBSD has no idea why he added it, and nobody on freebsd-fs came up with any cases where the icky part (the conversion of spaces to underscores) was needed. The removal of the upper-case conversion follows an even more obvious logic: it avoids any sort of namespace issues. People using StUdLy caps for filesystem names deserve everything they get. Otherwise, Efs and efs might be totally different things, but would use the same fsck. And we don't want that, right? That just provokes the sort of foot-shooting this would prevent. If you have problems with this, I'll walk you through using sed on your fstab, cause the only way you could have problems is if you spelled ufs as "UFS". Most likely, you haven't done that. MFC after: 1 month
* Support ICMP_TSTAMP/ICMP_TSTAMPREPLY.mdodd2003-03-022-28/+104
| | | | This alters the meaning of the '-M' flag.
* Close out a possible race where anybody in group operator couldmckusick2003-03-021-2/+11
| | | | | | | chown an arbitrary file to operator. Reported by: Ian Dowse <iedowse@maths.tcd.ie> Sponsored by: DARPA & NAI Labs.
* Add the mksnap_ffs command to the sbin directory. This setuid rootmckusick2003-03-024-0/+172
| | | | | | | | program allows users in the operator group to take filesystem snapshots. Its first use will be in support of `dump -L'. Approved by: Technical Review Board <trb@FreeBSD.org> Sponsored by: DARPA & NAI Labs.
* Don't pretend natd(8) doesn't work with ppp(8) interfaces.ru2003-02-281-5/+11
| | | | | | | While there's probably a better way to achieve the same, nothing precludes us from using natd(8) on tun(4) links. Noticed by: bde
* Spell "utilities" correctly.keramida2003-02-281-1/+1
|
* Document the rxcsum and txcsum commands.ru2003-02-271-0/+11
| | | | Submitted by: jlemon
* More fixes.ru2003-02-251-6/+8
| | | | | Submitted by: Andy Farkas <andyf@speednet.com.au> Reviewed by: das
* mdoc(7) police: Tidy up.ru2003-02-241-40/+58
|
* Killed one more instance of pseudo-devices.ru2003-02-241-1/+1
|
* Clarify about NSWAPDEV, add a DIAGNOSTICS section pointing todas2003-02-241-3/+8
| | | | | | swapon(2), and correct HISTORY. Reviewed by: mike (mentor)
* - Add a clearer error message for the case where swapon hits thedas2003-02-241-3/+9
| | | | | | | | | | | NSWAPDEV limit. - Don't warn about devices that are not in use in 'swapoff -a'. - Re-add behavior mistakenly removed in revision 1.44: If using 'swapon -a', do not warn if the device is already in use. PR: 46633 Submitted by: Andy Farkas <andyf@speednet.com.au> (in part) Reviewed by: mike (mentor)
* These are WARNS=2 clean, try to keep them that way.johan2003-02-232-2/+0
|
* Remove one of two WARNS=0.johan2003-02-231-1/+0
|
* Fix two unsafe uses of sprintf().tjr2003-02-231-3/+8
|
* Correct some err() format string bugs.tjr2003-02-231-7/+7
|
* Sort options.ru2003-02-236-139/+158
|
* Deal with vestiges of d_boot[01].ru2003-02-234-104/+24
|
* mdoc(7) police: markup laundry.ru2003-02-234-10/+15
|
* mdoc(7) police: kill unnecessary xref.ru2003-02-231-1/+0
|
* Fix the -R flag so that it provides sequential "random" numbersmckusick2003-02-222-15/+27
| | | | | | so that the regression test will succeed. Sponsored by: DARPA & NAI Labs.
* Remove unused variable to make badsect WARNS=2 clean.johan2003-02-222-2/+0
|
* Don't try to build devd when NO_CXX is set.obrien2003-02-211-1/+4
|
* Make camcontrol WARNS=2 clean.johan2003-02-204-7/+12
| | | | Approved by: ken
* Our first keyword hit for apropos ufs2.jwd2003-02-191-1/+1
|
* Add #include <sys/resource.h>phk2003-02-162-0/+2
|
* Remove #include <sys/dkstat.h>phk2003-02-161-1/+0
|
* Replace use of random() with arc4random() to provide less guessablemckusick2003-02-141-5/+5
| | | | | | | | values for the initial inode generation numbers in newfs and for newly allocated inode generation numbers in the kernel. Submitted by: Theo de Raadt <deraadt@cvs.openbsd.org> Sponsored by: DARPA & NAI Labs.
* Correct lines incorrectly added to the copyright message. Add missing period.mckusick2003-02-145-20/+5
| | | | | Submitted by: Bruce Evans <bde@zeta.org.au> Sponsored by: DARPA & NAI Labs.
* The bugs section hasn't been true since before 5.0-Rimp2003-02-141-3/+0
|
* devd bugs section is now OBEimp2003-02-141-3/+0
|
* Improvements to md5.c so that it uses getrusage to timesilby2003-02-141-8/+12
| | | | benchmarks, and prints out results in float format.
* Show the paritition types that we recognize in human readable format. eg:peter2003-02-131-4/+28
| | | | | | | | | | | | | pluto2# gpt show da0 start end size contents 0 0 1 PMBR 1 1 1 Pri GPT header 2 33 32 Pri GPT table 34 401595 401562 GPT part - EFI System partition 401596 925883 524288 GPT part - FreeBSD ufs partition 925884 9314491 8388608 GPT part - FreeBSD swap partition ... It'll print a plain uuid string for unrecognized types.
* MFi386: Use DIOCGPC98 ioctl.nyan2003-02-111-16/+57
|
* Convert newfs to libufs (really). Solves one real issue with previousjmallett2003-02-115-116/+43
| | | | | | | version of such. Differences in filesystems generated were found to be from 1) sbwrite with the "all" parameter 2) removal of writecache. The sbwrite call was made to perform as the original version, and otherwise this was checked against a version of newfs with the write cache removed.
* Use srandomdev() for FreeBSDache2003-02-111-0/+4
|
* Rename bio_linkage to the more obvious bio_parent.phk2003-02-071-0/+1
| | | | Add bio_t0 timestamp, and include <sys/time.h> where needed
* Use a more standard error message. Add FBSDID.charnier2003-02-051-4/+5
| | | | Reviewed by: ru
* The .Xr utilitycharnier2003-02-051-2/+3
|
* Correct examples for stateful inspectionbrueffer2003-02-041-2/+2
| | | | | | PR: 47817 Submitted by: Simon L.Nielsen <simon@nitro.dk> Reviewed by: ceri, luigi
* Bring in support for volume labels to the filesystem utilities.gordon2003-02-017-10/+63
| | | | Reviewed by: mckusick
* Build sunlabel on sparc64.jake2003-01-311-0/+4
|
* Add sunlabel, a more or less drop in replacement for bsd^H^H^Hdisklabel(8)jake2003-01-312-0/+585
| | | | | which works on sun labels. Due to the lack of an interface other than write(2) to update labels, it cannot modify an open partition.
* Additional PC98 option is not needed.nyan2003-01-301-3/+0
|
* Back out conversion to libufs, for now. It seems to cause problems.jmallett2003-01-294-42/+111
| | | | Reported by: phk
* Call fill() after maxpayload has been initialized.mdodd2003-01-291-3/+6
| | | | Reviewed by: maxim
* Send ICMP_MASKREQ packets when the '-M' option is specified.mdodd2003-01-282-10/+31
|
* Fix problems with how libufs was used, with regard to mounted/active fs's,jmallett2003-01-281-32/+16
| | | | | in the new world order of libufs, where we also do statfs, and add a missing close.
* Update mount_nfs documentation to reference new sysctl for -c default.dillon2003-01-271-2/+6
|
* Don't use the kern.disks sysctl to find a list of md devices, use thephk2003-01-271-41/+7
| | | | | | MDIOCLIST ioctl instead. Spotted by: keramida
OpenPOWER on IntegriCloud