summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* fix list mac; broken in delta 1.48sam2008-02-031-3/+7
| | | | Noticed by: JoaoBR
* Fix printing of unionfs mounts when using the -p optionmatteo2008-02-031-2/+8
| | | | | PR: bin/75585 MFC after: 1 week
* Spot two more bugs WRT adherence to the local prompt style.yar2008-01-311-2/+2
|
* Use consistent style in user prompts: the question is in a new lineyar2008-01-312-6/+6
| | | | | | | and begins with a capital letter. The rest of pwarn/ask pairs here follows this style. Requested by: bde
* Map 'boot' to GPT_ENT_TYPE_FREEBSD_BOOT when parsuing UUIDs so that thingsjhb2008-01-301-0/+7
| | | | | | | like 'gpt add -t boot' work. MFC after: 1 week Submitted by: Niki Denev nike_d of cytexbg.com
* Don't coredump when executed with -o.delphij2008-01-291-1/+1
|
* Sync up quotacheck's preen.c with fsck's. This makes quotacheckmpp2008-01-265-199/+237
| | | | | | | | | process parallel checks in the same way as fsck, since fsck supports pass numbers other than 0, 1 or 2. Without this, quotacheck would ignore file systems with pass numbers > 2. The -l (maxrun) option is now deprecated and can be tuned with pass numbers in /etc/fstab if needed.
* Hide ipfw internal data structures behind IPFW_INTERNAL rather thanrwatson2008-01-251-0/+2
| | | | | | | | | | exposing them to all consumers of ip_fw.h. These structures are used in both ipfw(8) and ipfw(4), but not part of the user<->kernel interface for other applications to use, rather, shared implementation. MFC after: 3 days Reported by: Paul Vixie <paul at vix dot com>
* During PREINIT, when giving the interface the address 0.0.0.0, do it as anbrooks2008-01-211-1/+1
| | | | | | | alias to avoid distrubing other addresses. PR: bin/119255 Submitted by: Jaakko Heinonen <jh at saunalahti dot fi>
* Note that the punch_fw option does not work in securelevel 3 and Xref init.8.trhodes2008-01-211-1/+6
| | | | | | Bump .Dd. PR: 41807
* o Fix ipfw(8) command line parser bug: "ipfw nat 1 config if" ↵maxim2008-01-201-0/+2
| | | | | | | | requires an argument. PR: bin/119815 Submitted by: Dierk Sacher MFC after: 1 week
* Quotacheck may possibly skip quota accounting for up to 2 filesmpp2008-01-151-3/+14
| | | | | | | | | | on a filesystem if the quota data files reside on a different filesystem (e.g. the userquota=/somepath,groupquota=/somepath2 options are specified in /etc/fstab to place the quota files somewhere other than the default location). Fix quotacheck to only skip accounting if the quota data file actually resides on the filesystem being checked.
* Prevent the `fix?' question from running togetheryar2008-01-131-1/+1
| | | | | with the problem description on the terminal: use conventional punctuation.
* o Allow setkey(8) to recognize esp as a protocoal name for spdadd.maxim2008-01-121-0/+1
| | | | | | PR: bin/107392 Submitted by: Eugene Grosbein MFC after: 1 month
* Compare kernel dump header magic with textdump magic using strncmp()rwatson2007-12-271-11/+31
| | | | | | | | | | | | rather than the memcmp() which is used for regular dumps: the textdump string is one character shorter, so we need to stop comparing at the end of the string. Use independent version checking logic for architecture-specific version number vs. textdump version number, as the version sequences may (someday) differ. Run into by: rrs
* Minor formatting tweaks.rwatson2007-12-261-3/+10
| | | | | | Point at ddb(4) and textdump(4) man pages for more script examples. MFC after: 3 months
* Teach savecore(8) how to extract textdump(4) dumps.rwatson2007-12-262-79/+171
| | | | | | Update savecore(8) man page to reflect textdump additions. MFC after: 3 months
* Add command-line tool ddb(8), which allows DDB(4) scripts to berwatson2007-12-266-0/+379
| | | | | | | | | managed from userspace. It is largely a wrapper for sysctl() calls, but because the sysctls for adding and removing scripts are awkward to use directly, this provides an easier-to-use interface. MFC after: 3 months
* Minor initialization change to not trigger bogus gcc warning aboutimp2007-12-211-1/+1
| | | | passing literal strings to the constructors of string.
* Calculate p.fs.lookup_step correctly. This should prevent zeroing ofoleg2007-12-171-3/+3
| | | | | | w_q_lookup table (used in RED algorithm for (1 - w_q)^t computation). MFC after: 1 months
* Fix an int overflow on very large file systems.das2007-12-171-2/+2
| | | | | PR: bin/113399 Submitted by: Staffan Ulfberg <staffan@ulfberg.se>
* Recognize CFA devices using either identification method.phk2007-12-161-4/+4
|
* Report erase interval (correctly) in sectors.phk2007-12-161-2/+2
|
* Rename the undocumented -E option to -X.phk2007-12-164-15/+32
| | | | | | | | | | Implement -E option which will erase the filesystem sectors before making the new filesystem. Reserved space in front of the superblock (bootcode) is not erased. NB: Erasing can take as long time as writing every sector sequentially. This is relevant for all flash based disks which use wearlevelling.
* Report CFA extension, CFA -> (Compact) Flash Associationphk2007-12-161-0/+4
|
* o Markup and grammar fixes.maxim2007-12-141-5/+9
|
* Bump .Dd for r1.63; fix small nit from the same.ceri2007-12-101-2/+2
|
* Add a bit more detailed description about a configurationphk2007-12-101-0/+20
| | | | | | file format and about using NAT "instances". Submitted by: "Andrey V. Elsukov" <bu7cher@yandex.ru>
* Wake On Lan (WOL) infrastructuresam2007-12-102-2/+25
| | | | | Submitted by: Stefan Sperling <stsp@stsp.name> Reviewed by: brooks
* Allow bsdlabel to operate on labels that have at most 26 partitionsmarcel2007-12-091-3/+5
| | | | | by virtue of there not being any (lower-case) letters avaliable for more partitions.
* Be more accurate in the maximum filesize, it's 4GB not 4.3GB.remko2007-12-091-1/+1
| | | | Reported by: njl
* Remove redundant whitespace.remko2007-12-081-1/+1
| | | | Noticed by: brueffer
* .Ed is not needed here, remove it.remko2007-12-081-1/+0
| | | | Noticed by: brueffer
* Add information about the maximum file size for msdosfs.remko2007-12-081-1/+4
| | | | | | | | PR: docs/112935 Submitted by: Julian Stacey <jhs at berklix dot org> Actually this was inspired by the ticket submitted by Julian. MFC After: 3 days
* Attempt to describe the ''auto'' type a bit better in the defaultremko2007-12-081-2/+3
| | | | | | | | | section (if nothing had been specified, or if the auto type had been specified, a default layout is used). PR: docs/116047 Submitted by: Ian Smith <smithi at nimnet dot asn dot au> Minor modifications by me.
* Teach dhclient(8) about net80211 link (association) status.jkim2007-12-051-1/+4
| | | | | Reviewed by: brooks MFC after: 3 days
* Expand the EXAMPLES section for atacontrol.8remko2007-11-281-1/+105
| | | | | | PR: docs/117310 Submitted by: Ted Mittelstaedt <tedm at ipinc dot net> with minor modifications by me.
* Remove mentionings of kern.dumpdev which is no longer available.remko2007-11-281-10/+1
| | | | | | PR: docs/113570 Submitted by: lawrance MFC After: 3 days (where applicable)
* Every newline should start on it's own line. I didn't do that in theremko2007-11-281-3/+4
| | | | | | previous commit, so make it happen now. Prodded by: brueffer
* Sync with md(4)'s information regarding the swap backend.remko2007-11-281-2/+9
| | | | | | PR: docs/115721 Submitted by: Stefan Lambrev <stefan.lambrev@moneybookers.com> MFC After: 3 days
* - Pay attention to the fact that ioctl(2) is only known toyar2007-11-281-4/+5
| | | | | | | | | return -1 on error while any other return value from it can indicate success. (See RETURN VALUE in our ioctl(2) manpage and the POSIX spec.) - Avoid assumptions about the state of the data buffer after ioctl(2) failure.
* MFp4:yar2007-11-283-22/+59
| | | | | | | | | | | | | | | | | | | | | | Add a new option to newfs(8), -r, to specify reserved space at the end of the device. It can be useful, e.g., when the device is to become a member of a gmirror array later w/o losing the file system on it. Document the new option in the manpage. While I'm here, improve error handling for -s option, which is syntactically similar to -r; and document the fact that -s0 selects the default fs size explicitly, which can be useful, e.g., in a menu-based wrapper around newfs(8) requiring some value be entered for the fs size. Also fix a small typo in the help line for -s (missing space). Idea and initial implementation by: marck Discussed on: -fs Critical review by: bde Tested with: cmp(1)
* Properly sort 'sync' in the list of options passed to -o.jhb2007-11-271-4/+4
| | | | MFC after: 3 days
* Polish this manual page a bit:danger2007-11-261-73/+110
| | | | | | | | | | - refer to the dummynet(4) man page only once, later use rather the .Nm macro. - use .Va macro when refering to the sysctl variables - grammar and markup fixes Reviewed by: keramida, trhodes, ru (roughly) MFC-after: 1 week
* Minor language cleanup.brueffer2007-11-241-3/+3
| | | | MFC after: 3 days
* Addition style(9) change.obrien2007-11-201-3/+3
|
* style(9)obrien2007-11-201-95/+96
|
* Add -o option to match ping(8)dd2007-11-202-5/+12
| | | | | Reviewed by: dwmalone, maxim MFC after: 2 weeks
* Use an intermediate pointer to avoid strict alias check warningsjb2007-11-201-2/+3
| | | | | on gcc 4.2. This is required for tinderbox which doesn't have -f-no-strict-aliasing in it's custom CFLAGS.
* Reduce the WARNS level across the board due to a warning that occursjb2007-11-191-1/+3
| | | | on at least arm and sparc64. i386/pc98, ia64 and amd64 are all OK.
OpenPOWER on IntegriCloud