summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Fix bogon. Create the BSD label in the FreeBSD slice.marcel2004-10-251-1/+1
|
* Catch up with the BSD label changes. The partition offsets are relativemarcel2004-10-251-3/+20
| | | | | to the partition now. While here, make sure we skip unused partition entries.
* Build gpt(8) on all platforms.marcel2004-10-251-5/+1
|
* Add byte swapping and UUID encoding/decoding to allow gpt to be compiledmarcel2004-10-259-140/+192
| | | | | | on big-endian machines. Obtained from: Dan Markarian <markarian at apple dot com>
* For variables that are only checked with defined(), don't provideru2004-10-2410-12/+12
| | | | any fake value.
* Fixed misspelling of DPADD.ru2004-10-241-2/+2
|
* Merged from src/sbin/fdisk/fdisk.c revision 1.75.nyan2004-10-241-1/+1
| | | | (Don't prepend "/dev" if an argument given is an absolute pathname.)
* Use %zu to format size_t instead of %jd and an intmax_t cast.des2004-10-231-6/+5
| | | | Approved by: hamlet
* Stop amd64 warnings.phk2004-10-231-3/+4
|
* Refuse to unload the ipdivert module unless the 'force' flag is given to ↵andre2004-10-221-4/+4
| | | | | | | kldunload. Reflect the fact that IPDIVERT is a loadable module in the divert(4) and ipfw(8) man pages.
* Explicitly break out NETA license from Berkeley license to clearlyrwatson2004-10-201-0/+21
| | | | | | | indicate license grant, as well as to indicate that NETA is asserting only two clauses, not four clauses. Requested by: imp
* Don't prepend "/dev" if an argument given is an absolute pathname.ru2004-10-201-1/+1
| | | | Reviewed by: jhb
* Print a usage message if a non-option is specified.schweikh2004-10-131-1/+2
| | | | MFC after: 3 weeks
* The got_siginfo = 0 should have been got_sigalarm=0 to match the otherimp2004-10-101-1/+1
| | | | | | passes. Submitted by: Dworkin Muller
* Add a note to the man page warning users about possible lock ordercsjp2004-10-091-0/+10
| | | | | | | | | reversals+system lock ups if they are using ucred based rules while running with debug.mpsafenet=1. I am working on merging a shared locking mechanism into ipfw which should take care of this problem, but it still requires a bit more testing and review.
* Make fsck WARNS=2 clean.le2004-10-092-17/+17
|
* 3 important fixes for growfs:scottl2004-10-091-22/+42
| | | | | | | | | | | | | | | | | | | | | | | 1) ginode() is passed a cylinder group number and inode number. The inode number is relative to the cg. Use this relative number rather than the absolute inode number when searching the cg inode bitmap to see if the inode is allocated. Using the absolute number quickly runs the check off the end of the array and causes invalid inodes to be referenced. 2) ginode() checks the absolute indoe number to make sure that it is greater than ROOTINO. However, the caller loops through all of the possible inode numbers and directly passes in values that are < ROOTINO. Instead of halting the program with an error, just return NULL. 3) When allocating new cylinder groups, growfs was initializing all of the inodes in the group regardless of this only being required for UFS1. Not doing this for UFS2 provides a significant performance increase. These fixes allow growing a filesystem beyond a trivial amount and have been tested to grow an 8GB filesystem to 1.9TB. Much more testing would be appreciated. Obtained from: Sandvine, Inc.
* Eliminate linked list used to track inodes with an initial linktruckman2004-10-0810-60/+43
| | | | | | | | | count of zero and instead encode this information in the inode state. Pass 4 performed a linear search of this list for each inode in the file system, which performs poorly if the list is long. Reviewed by: sam & keramida (an earlier version of the patch), mckusick MFC after: 1 month
* Only print progress statistics once per second.phk2004-10-081-9/+16
|
OpenPOWER on IntegriCloud