aboutsummaryrefslogtreecommitdiff
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* geli onetime command can take only one GEOM provider at a time.Pawel Jakub Dawidek2008-08-122-3/+3
| | | | Notes: svn path=/head/; revision=181639
* Clean up of dead code and possible unassigned variable usage.Ivan Voras2008-08-091-3/+7
| | | | | | | | Found by: LLVM/Clang Static Checker Approved by: gnn (mentor) Notes: svn path=/head/; revision=181471
* Add sbuf_new_auto as a shortcut for the very common case of creating aDag-Erling Smørgrav2008-08-091-1/+1
| | | | | | | | | | completely dynamic sbuf. Obtained from: Varnish MFC after: 2 weeks Notes: svn path=/head/; revision=181463
* recognize WPS ie'sSam Leffler2008-08-092-1/+84
| | | | | | | | Submitted by: "Chuck Tuffli" <chuck@tuffli.net> MFC after: 1 week Notes: svn path=/head/; revision=181454
* Make atacontrol(8) rebuild work when /usr is not mounted or from /rescueAntoine Brodin2008-08-061-6/+25
| | | | | | | | | PR: bin/125680 MFC after: 1 month Tested by: Stef Walter Notes: svn path=/head/; revision=181349
* DDB scripting, textdumps, output capture, etc, all will appear inRobert Watson2008-08-031-1/+1
| | | | | | | | | | FreeBSD 7.1 before 8.0 ships. Spotted by: Ulrich Spoerlein <uspoerlein at gmail dot com> MFC after: 3 days Notes: svn path=/head/; revision=181240
* Move the grekey to its own file, ifconfig.c does not have interface specificAndrew Thompson2008-08-033-20/+99
| | | | | | | | | code. Submitted by: sam Notes: svn path=/head/; revision=181224
* change list wme to only print the channel parameters; toSam Leffler2008-08-022-38/+57
| | | | | | | get channel+bss use -v Notes: svn path=/head/; revision=181199
* don't silently exit if the regdomain.xml file is missingSam Leffler2008-08-021-1/+1
| | | | Notes: svn path=/head/; revision=181198
* Slight wordsmithing. prompted by danger@Julian Elischer2008-08-011-2/+5
| | | | Notes: svn path=/head/; revision=181141
* Document the use of the tablearg keyword together with the skipto command.Julian Elischer2008-08-011-3/+16
| | | | Notes: svn path=/head/; revision=181140
* add missing capability bitsSam Leffler2008-08-011-2/+2
| | | | Notes: svn path=/head/; revision=181102
* Add a -q[uiet] flag for scripts.David E. O'Brien2008-07-312-4/+12
| | | | Notes: svn path=/head/; revision=181036
* correct description of how to clear a desired channelSam Leffler2008-07-301-6/+4
| | | | | | | | Pointed out by: Chris Buechler MFC after: 1 week Notes: svn path=/head/; revision=180999
* Update routed to use the RFC 3678 protocol-independent multicast API. UsePoul-Henning Kamp2008-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 Notes: svn path=/head/; revision=180993
* Clarify which route property routed(8) looks at.Poul-Henning Kamp2008-07-291-1/+1
| | | | Notes: svn path=/head/; revision=180973
* Note that snapshots may cause a panic on the full UFS filesystem.Konstantin Belousov2008-07-261-0/+3
| | | | | | | | Submitted by: pho MFC after: 3 days Notes: svn path=/head/; revision=180822
* Note that setfib is not a terminal rule.Julian Elischer2008-07-241-1/+2
| | | | Notes: svn path=/head/; revision=180785
* Fix -o mntudp after the conversion to default TCP mountsKris Kennaway2008-07-101-1/+4
| | | | | | | | Submitted by: danfe MFC after: 1 week Notes: svn path=/head/; revision=180435
* Obsolete bsdlabel(8) on powerpc. Use gpart(8) instead.Marcel Moolenaar2008-07-061-1/+1
| | | | Notes: svn path=/head/; revision=180331
* Make sunlabel specific to sparc64. This is mostly for backwardMarcel Moolenaar2008-07-041-1/+5
| | | | | | | | compatibility reasons. Sun labels, with VTOC8, are handled by gpart(8). Notes: svn path=/head/; revision=180247
* Stop building bsdlabel(8) and fdisk(8) on ia64. Both tools areMarcel Moolenaar2008-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. Notes: svn path=/head/; revision=180229
* Add NO_MAN for the static variant of geom(8). Both the RESCUE and theMarcel Moolenaar2008-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. Notes: svn path=/head/; revision=180228
* Drag this code kicking and screaming into the twenty-first century.Dag-Erling Smørgrav2008-07-022-54/+29
| | | | Notes: svn path=/head/; revision=180187
* Do not set IFF_DEBUG directly from the driver.Roman Kurakin2008-06-301-1/+21
| | | | | | | MFC after: 1 month. Notes: svn path=/head/; revision=180132
* Run the privileged dhclient process in its own session.Ed Schouten2008-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 Notes: svn path=/head/; revision=180130
* Support for filtering on major device number was removed in rev. 1.7 orMike Makonnen2008-06-271-2/+2
| | | | | | | | | | rule.c. Update man page example accordingly. Submitted by: Mateusz Guzik <mjguzik@gmail.com> PR: docs/124892 Notes: svn path=/head/; revision=180060
* The signature for a pthread function requires that itMike Makonnen2008-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 Notes: svn path=/head/; revision=180020
* Document spindown constraints as given in the original commitBjoern A. Zeeb2008-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 Notes: svn path=/head/; revision=180005
* Add a -q flag to swapon(8) to suppress informational messages. Use it inMike Makonnen2008-06-232-9/+24
| | | | | | | | rc.d. Note: errors are not affected by this flag. Notes: svn path=/head/; revision=179966
* The sysctl(8) program exits on some errors and only emits warnings onMike Makonnen2008-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. Notes: svn path=/head/; revision=179965
* Ensure the channel is a number and not a range, the 'channel' command can beAndrew Thompson2008-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. Notes: svn path=/head/; revision=179958
* Add exit_delay parameter to control daemon exit delay after signal.Alexander Motin2008-06-223-4/+31
| | | | | | | | PR: bin/58696 Submitted by: sp@alkor.ru Notes: svn path=/head/; revision=179937
* Use strdup() instead of static buffer allocation to avoid 128 bytes limitAlexander Motin2008-06-221-6/+18
| | | | | | | | | | on -redirect_XXX arguments length. PR: bin/86647 Submitted by: Stephen Hurd <shurd@sasktel.net> Notes: svn path=/head/; revision=179935
* Add -v (verbose) option to -l command, to show size and backing storeDmitry Morozovsky2008-06-212-7/+17
| | | | | | | | | | of all md devices at one time. Approved by: phk MFC after: 2 weeks Notes: svn path=/head/; revision=179910
* Fix spellingOleksandr Tymoshenko2008-06-201-2/+2
| | | | | | | | PR: kern/124723 Event: Bugathon#5 Notes: svn path=/head/; revision=179900
* Add support for the optional key in the GRE header.Andrew Thompson2008-06-202-1/+31
| | | | | | | | PR: kern/114714 Submitted by: Cristian KLEIN Notes: svn path=/head/; revision=179894
* Implement the set and unset verbs. While here, have the manpageMarcel Moolenaar2008-06-182-11/+84
| | | | | | | catch up with various changes. Notes: svn path=/head/; revision=179854
* Implement the -l and -r options for gpart show.Marcel Moolenaar2008-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. Notes: svn path=/head/; revision=179769
* Remove gpt(8). It's replaced by gpart(8).Marcel Moolenaar2008-06-0915-3544/+0
| | | | Notes: svn path=/head/; revision=179690
* Use the -n flag to route(8) when calling "route get". Otherwise we hangBrooks Davis2008-06-091-1/+1
| | | | | | | | | for a long time if we get a lease, but DNS isn't working. MFC after: 1 week Notes: svn path=/head/; revision=179689
* Disconnect gpt(8) from the build. gpt(8) is replaced by gpart(8).Marcel Moolenaar2008-06-091-1/+0
| | | | Notes: svn path=/head/; revision=179680
* Document the misleading nature of the REQUIRE line. The patch inMike Makonnen2008-06-091-1/+20
| | | | | | | | | | the PR has been heavily edited for style(9) and clarity. Mistakes are mine. PR: bin/124251 Notes: svn path=/head/; revision=179669
* - Display '-C' option in usage().Stanislav Sedov2008-06-081-1/+1
| | | | | | | Approved by: kib Notes: svn path=/head/; revision=179656
* Document the new -p and -i options for writing bootstrap code intoMarcel Moolenaar2008-06-071-8/+24
| | | | | | | | a partition. Make it clear that the -b option embeds boot code in the meta-data. Notes: svn path=/head/; revision=179630
* Enhance the bootcode command to also allow bootcode to be writtenMarcel Moolenaar2008-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). Notes: svn path=/head/; revision=179629
* Add two support functions:Marcel Moolenaar2008-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. Notes: svn path=/head/; revision=179628
* Don't abend if we get ENOMEM from sysctl(3). The data returnedBrian Somers2008-06-061-1/+1
| | | | | | | | | is sufficient MFC after: 2 weeks Notes: svn path=/head/; revision=179607
* Update the manpage to reflect reality:Marcel Moolenaar2008-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. Notes: svn path=/head/; revision=179596
* Allow building a static geom(8) for release related crunchedMarcel Moolenaar2008-06-051-1/+1
| | | | | | | | binaries. In particular, this allows geom to be added to the boot_crunch binary on ia64. Notes: svn path=/head/; revision=179562