summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Fix channel parsing which was broken in r179958, the channel number may bethompsa2008-08-141-2/+4
| | | | suffixed with :flag and /width.
* geli onetime command can take only one GEOM provider at a time.pjd2008-08-122-3/+3
|
* Clean up of dead code and possible unassigned variable usage.ivoras2008-08-091-3/+7
| | | | | Found by: LLVM/Clang Static Checker Approved by: gnn (mentor)
* Add sbuf_new_auto as a shortcut for the very common case of creating ades2008-08-091-1/+1
| | | | | | | completely dynamic sbuf. Obtained from: Varnish MFC after: 2 weeks
* recognize WPS ie'ssam2008-08-092-1/+84
| | | | | Submitted by: "Chuck Tuffli" <chuck@tuffli.net> MFC after: 1 week
* Make atacontrol(8) rebuild work when /usr is not mounted or from /rescueantoine2008-08-061-6/+25
| | | | | | PR: bin/125680 MFC after: 1 month Tested by: Stef Walter
* DDB scripting, textdumps, output capture, etc, all will appear inrwatson2008-08-031-1/+1
| | | | | | | FreeBSD 7.1 before 8.0 ships. Spotted by: Ulrich Spoerlein <uspoerlein at gmail dot com> MFC after: 3 days
* Move the grekey to its own file, ifconfig.c does not have interface specificthompsa2008-08-033-20/+99
| | | | | | code. Submitted by: sam
* change list wme to only print the channel parameters; tosam2008-08-022-38/+57
| | | | get channel+bss use -v
* don't silently exit if the regdomain.xml file is missingsam2008-08-021-1/+1
|
* Slight wordsmithing. prompted by danger@julian2008-08-011-2/+5
|
* Document the use of the tablearg keyword together with the skipto command.julian2008-08-011-3/+16
|
* add missing capability bitssam2008-08-011-2/+2
|
* Add a -q[uiet] flag for scripts.obrien2008-07-312-4/+12
|
* correct description of how to clear a desired channelsam2008-07-301-6/+4
| | | | | Pointed out by: Chris Buechler MFC after: 1 week
* Update routed to use the RFC 3678 protocol-independent multicast API. Usephk2008-07-305-118/+66
| | | | | | | | IP_MULTICAST_IF with struct ip_mreqn (obtained from Linux) to tell the stack which interface index to use for sending IPv4 datagrams. Submitted by: bms Tested by: phk
* Clarify which route property routed(8) looks at.phk2008-07-291-1/+1
|
* Note that snapshots may cause a panic on the full UFS filesystem.kib2008-07-261-0/+3
| | | | | Submitted by: pho MFC after: 3 days
* Note that setfib is not a terminal rule.julian2008-07-241-1/+2
|
* Fix -o mntudp after the conversion to default TCP mountskris2008-07-101-1/+4
| | | | | Submitted by: danfe MFC after: 1 week
* Obsolete bsdlabel(8) on powerpc. Use gpart(8) instead.marcel2008-07-061-1/+1
|
* Make sunlabel specific to sparc64. This is mostly for backwardmarcel2008-07-041-1/+5
| | | | | compatibility reasons. Sun labels, with VTOC8, are handled by gpart(8).
* Stop building bsdlabel(8) and fdisk(8) on ia64. Both tools aremarcel2008-07-031-2/+5
| | | | | | | | | | | | obsoleted by gpart(8). This avoids the following bugs in fdisk: - initializing a disk without MBR bogusly emits the error: fdisk: invalid fdisk partition table found - initializing a disk with or without MBR bogusly emits either: fdisk: Class not found or fdisk: Geom not found: "XXX" - the default geometry for non-ATA and non-SCSI disks is either invalid or sub-optimizal.
* Add NO_MAN for the static variant of geom(8). Both the RESCUE and themarcel2008-07-031-0/+1
| | | | | | RELEASE_CRUNCH builds use NO_MAN anyway, so this change is primarily to avoid that developers have to set NO_MAN manually when they build the static variant.
* Drag this code kicking and screaming into the twenty-first century.des2008-07-022-54/+29
|
* Do not set IFF_DEBUG directly from the driver.rik2008-06-301-1/+21
| | | | MFC after: 1 month.
* Run the privileged dhclient process in its own session.ed2008-06-301-0/+1
| | | | | | | | In the MPSAFE TTY branch, I noticed PTY's to be leaked, because dhclient's privileged process was run inside the session of, say, the login shell. Make sure we call setsid() here. Approved by: philip (mentor), brooks
* Support for filtering on major device number was removed in rev. 1.7 ormtm2008-06-271-2/+2
| | | | | | | rule.c. Update man page example accordingly. Submitted by: Mateusz Guzik <mjguzik@gmail.com> PR: docs/124892
* The signature for a pthread function requires that itmtm2008-06-261-0/+6
| | | | | | | | | | | return a pointer to a void. The send_thread() and disk_thread() funtions; however, do not have a return value because they run for the duration of the daemon's lifetime. This causes gcc to barf when running with -O3. Make these functions return a null pointer to quiet it. PR: bin/124342 Submitted by: Garrett Cooper <gcooper@FreeBSD.org> (minus his comments) MFC after: 1 week
* Document spindown constraints as given in the original commitbz2008-06-251-1/+22
| | | | | | | | message[1] and later clarification provided by phk. [1] http://docs.freebsd.org/cgi/mid.cgi?200803171033.m2HAXOeN055116 Reviewed by: brueffer, phk, ed
* Add a -q flag to swapon(8) to suppress informational messages. Use it inmtm2008-06-232-9/+24
| | | | | rc.d. Note: errors are not affected by this flag.
* The sysctl(8) program exits on some errors and only emits warnings onmtm2008-06-231-2/+5
| | | | | | | | | others. In the case where it displayed warnings it would still return succesfully. Modify it so that it returns the number of sysctls that it was not able to set. Make use of this in rc.d to display only *unsuccessfull* attempts to set sysctls.
* Ensure the channel is a number and not a range, the 'channel' command can bethompsa2008-06-231-1/+4
| | | | | easily mixed up with 'chanlist' and would give unexpected results by fixing the channel on the first number in the range.
* Add exit_delay parameter to control daemon exit delay after signal.mav2008-06-223-4/+31
| | | | | PR: bin/58696 Submitted by: sp@alkor.ru
* Use strdup() instead of static buffer allocation to avoid 128 bytes limitmav2008-06-221-6/+18
| | | | | | | on -redirect_XXX arguments length. PR: bin/86647 Submitted by: Stephen Hurd <shurd@sasktel.net>
* Add -v (verbose) option to -l command, to show size and backing storemarck2008-06-212-7/+17
| | | | | | | of all md devices at one time. Approved by: phk MFC after: 2 weeks
* Fix spellinggonzo2008-06-201-2/+2
| | | | | PR: kern/124723 Event: Bugathon#5
* Add support for the optional key in the GRE header.thompsa2008-06-202-1/+31
| | | | | PR: kern/114714 Submitted by: Cristian KLEIN
* Implement the set and unset verbs. While here, have the manpagemarcel2008-06-182-11/+84
| | | | catch up with various changes.
* Implement the -l and -r options for gpart show.marcel2008-06-131-6/+32
| | | | | | The -l option changes the output to show the partition label, if applicable and when present. The -r option changes the output to show the raw (i.e. scheme-specific) partition types.
* Remove gpt(8). It's replaced by gpart(8).marcel2008-06-0915-3544/+0
|
* Use the -n flag to route(8) when calling "route get". Otherwise we hangbrooks2008-06-091-1/+1
| | | | | | for a long time if we get a lease, but DNS isn't working. MFC after: 1 week
* Disconnect gpt(8) from the build. gpt(8) is replaced by gpart(8).marcel2008-06-091-1/+0
|
* Document the misleading nature of the REQUIRE line. The patch inmtm2008-06-091-1/+20
| | | | | | | the PR has been heavily edited for style(9) and clarity. Mistakes are mine. PR: bin/124251
* - Display '-C' option in usage().stas2008-06-081-1/+1
| | | | Approved by: kib
* Document the new -p and -i options for writing bootstrap code intomarcel2008-06-071-8/+24
| | | | | a partition. Make it clear that the -b option embeds boot code in the meta-data.
* Enhance the bootcode command to also allow bootcode to be writtenmarcel2008-06-061-25/+143
| | | | | to a partition. This avoids that users need to use dd(1) to install boot code (as is needed for VTOC8 and booting GPT on PCs).
* Add two support functions:marcel2008-06-062-0/+47
| | | | | | | | | | | | | o gctl_delete_param() -- intended for parameters that are consumed by geom(8) itself and which should not be passed to the kernel. o gctl_has_param() -- intended to check if optional parameters are present. Both are needed by gpart(8) to process the optional parameter for writing bootcode to a partition (as part of the bootcode verb). However, the kernel is itself not involved in this matter and the parameter needs to be removed from the request destined for the kernel.
* Don't abend if we get ENOMEM from sysctl(3). The data returnedbrian2008-06-061-1/+1
| | | | | | is sufficient MFC after: 2 weeks
* Update the manpage to reflect reality:marcel2008-06-061-3/+32
| | | | | | o The BSD, PC98 and VTOC8 schemes are supported. o The bootcode command was added to allow installing bootstrap code into the scheme's metadata.
OpenPOWER on IntegriCloud