summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* add a callback mechanism for code that wants to defer committing changessam2004-12-112-0/+33
| | | | | | until all the command line args have been processed Reviewed by: ambrisko
* Update the IPFW man page to reflect reality. mpsafenet=0 is no longercsjp2004-12-101-10/+0
| | | | | | | required when using ucred based rules. Pointed out by: seanc (thanks!) MFC after: 1 month
* - Turn off 'fast' mode by default and increase maximum memory to consumepjd2004-12-091-3/+3
| | | | | when this mode is used. - Manual page update.
* Overhaul to cleanup some of the tangled logic that's grown over the years.sam2004-12-0814-1538/+3342
| | | | | | | | | | | | | | | | | | | | o break per-address family support out into separate files o modularize per-address family and functional operations using a registration mechanism; this permits configuration according to which files you include (but beware that order of the files is important to insure backwards compatibility) o many cleanups to eliminate incestuous behaviour, global variables, and poor coding practices (still much more to fix) The original motivation of this work was to support dynamic addition of functionality based on the interface so we can eliminate the various little control programs and so that vendors can distribute ifconfig plugins that support their in-kernel code. That work is still to be completed. o Update 802.11 support for all the new net80211 functionality; some of these operations (e.g. list *) may be better suited in a different program
* Make sure we don't pass garbage to the kernel.phk2004-12-081-1/+2
| | | | The filesystem is named "ufs" not "ffs".
* Code for automatic name completion in a tcsh(1) environment.hmp2004-12-051-0/+7
| | | | | PR: docs/44435 Submitted by: Slaven Rezic slaven dot rezic at berlin dot de
* o Do not dump core in -W if dumpdates was not readable and ddatev == NULL.maxim2004-12-022-5/+2
| | | | | | | | | PR: bin/69977 o Remove unused ddates_in. Obtained from: NetBSD MFC after: 3 weeks
* Revert last change. It doesn't break mount(8) reportingru2004-11-301-0/+2
| | | | but allows a "nodev" in /etc/fstab, etc.
* Fix typo.rik2004-11-291-1/+1
| | | | | Submitted by: Janusz Muc'ka (Defacto) <gdef at cvd dot pl> MFC after: 3 days
* Fix the mount(8) status reporting, now that MNT_NODEV is a no-op (zero).ru2004-11-294-13/+2
| | | | Asked to commit by: phk
* Clarify that devd will only parse files whose names end in .conf.ceri2004-11-281-1/+3
| | | | | | | | Prompted by PR: docs/73668 Submitted by: Dan Pelleg MFC After: 3 days
* Don't include sys/user.h merely for its side-effect of recursivelydas2004-11-271-1/+1
| | | | including other headers.
* Implement 'setstate' to allow setting the state of drives and subdisksle2004-11-261-0/+58
| | | | for debugging and emergency purposes.
* Implement checkparity/rebuildparity.le2004-11-261-0/+88
|
* Avoid comparing pointer against a numerical value by adding a * indelphij2004-11-251-1/+1
| | | | | | front of it. Reviewed by: phk
* Add first cut at dethaumagizing UFS mounting.phk2004-11-252-0/+150
|
* Add a convenience function for building nmount iov arrays.phk2004-11-252-0/+25
|
* Fix bug: don't let "synco" match "sync"phk2004-11-251-4/+2
|
* Remove a duplicate line from an apparent merge error in rev 1.63.brooks2004-11-251-1/+0
|
* Sync usage() and SYNOPSIS.ru2004-11-132-2/+3
|
* Sync usage() with manpage SYNOPSIS and code.ru2004-11-131-4/+6
|
* For create and migrate, remove the `.Op Fl f' introduced in themarcel2004-11-131-4/+2
| | | | | | | previous two commits and combine them with the existing flags that were already there. Pointed out by: ru@
* Add an -f option (for force) to the migrate command. Normally an MBRmarcel2004-11-132-5/+21
| | | | | with unknown partitions is not migrated. By specifying the -f option migration will happen and unknown partitions will be lost.
* Add an -f option (for force) to the create command. The -f optionmarcel2004-11-132-6/+25
| | | | | | | allows the user to force the creation of a GPT even when there's a MBR on the device. The MBR is simply wiped and any partitions described by it are lost. Without the -f option one cannot create a GPT when there's a MBR.
* Reflect the cuaa->cuad namechange in documentation.philip2004-11-132-2/+2
| | | | | | Might as well do them all while I'm at it :-) Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
* Fix a braino: the partition size in the PMBR is in sectors, not bytesmarcel2004-11-122-8/+8
| | | | | | | | and 'mediasz' is in bytes. As it so happens, we define 'last' as the sector number of the last sector on the medium which also is the size of the PMBR partition. Therefore, use 'last' instead of 'mediasz'. Submitted by: Dan Markarian <markarian at apple dot com>
* Help Tinderbox and remove mount_autofsmarkm2004-11-101-1/+0
|
* Add 0xbf as new partition id for Solaris.phk2004-11-101-0/+1
| | | | Submitted by: Lawrence.Lee@sun.com
* Bump .Dd, replace missing letter, and prefer to use a verb thatdd2004-11-061-5/+3
| | | | | | | matches the option letter. Submitted by: ru Should know better by now: dd
* First there was an -m option.ru2004-11-061-3/+0
| | | | | | Then Peter killed it and made it the default. Then Brooks and Poul-Henning added it again. Then Ruslan fixed the manpage...
* For file backed md(4) devices output their source file viapjd2004-11-061-2/+7
| | | | | 'mdconfig -l -u <unit>'. Bump version number, as this change breaks ABI/API.
* Remove a useless use of cat, strip overzealous punctuation, anddd2004-11-061-16/+16
| | | | clarify some text.
* Parse file mode with setmode(3) for consistency with other programsdd2004-11-062-12/+9
| | | | that do this kind of thing.
* Update the description of -l to reflect reality. After mdconfig.cdd2004-11-061-6/+5
| | | | | 1.25, -l without -u only lists the names, so specifying -u does more than just limit the output to one device.
* If there aren't any devices to list, output nothing instead of andd2004-11-061-10/+2
| | | | | | empty line. This is consistent with other utilities. While I'm here, remove artifacts of the previous list implementation.
* Note that sysctls documentation is missing.pjd2004-11-052-0/+4
|
* Grammatical and spelling improvements.ceri2004-11-047-64/+65
| | | | Reviewed by: pjd
* Ups! Forgot to put "sbin" on the commit line:phk2004-11-047-7679/+0
| | | | Remove userland vinum(8) stuff.
* Fix markup: .Dv -> .Vabms2004-11-041-2/+2
| | | | | | Update document dates. Prodded by: ru
* Document the fact that blackhole routes normally need to be boundbms2004-11-041-0/+10
| | | | | | | | to lo(4) interfaces to have an effect, and that this is not needed when using IP fast forwarding. Sponsored by: eXtensible Open Router Project <URL:http://www.xorp.org/> MFC after: 3 weeks
* Be more clear that "bridged" is a synonym for "layer2".ceri2004-11-031-1/+2
| | | | | PR: docs/44400 Submitted by: Constantin Stefanov <cstef at mail dot ru>
* Introduce the PRECIOUSPROG knob in bsd.prog.mk, similarru2004-11-031-1/+2
| | | | | | | | to PRECIOUSLIB from bsd.lib.mk. The side effect of this is making installing the world under jail(8) possible by using another knob, NOFSCHG. Reviewed by: oliver
* Remove extra 's'.pjd2004-11-031-2/+2
| | | | Submitted by: ceri
* Be more correct.pjd2004-11-031-2/+2
| | | | Submitted by: ceri
* Remove one more redundant 'not'.pjd2004-11-031-1/+1
|
* Remove redundant 'not'.pjd2004-11-011-1/+1
|
* Replace link to nonexistent raid(4) with one to geom(8). I don't likedd2004-10-311-2/+1
| | | | | | | | implying that geom(8) is a RAID solution, but it can be used for that purpose, and a pointer in that direction is better than nothing. PR: 73088 Submitted by: Miguel Mendez <flynn@energyhq.es.eu.org>
* Remove the -k option to migrate. The option causes gpt(8) to preservemarcel2004-10-312-39/+25
| | | | | | | the MBR after it is migrated to a GPT. While this was useful during the early days when GPT support was under development, it's something that users can use without knowing what they're getting themselves into. The possible harm outweights the marginal usefulness it now has.
* Remove useless inclusion of <sys/disklabel.h>marcel2004-10-252-2/+0
| | | | Obtained from: Dan Markarian <markarian at apple dot com>
* Declare variables as static, like I intended.marcel2004-10-254-4/+4
| | | | Obtained from: Dan Markarian <markarian at apple dot com>
OpenPOWER on IntegriCloud