summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
* Various updates to support new pc-sysinstall directiveimp2010-08-1912-35/+358
| | | | | | | | "installPackages" that will install packages and all package dependencies. PR: 148606 Submitted by: John Hixon
* To restart, sysinstall calls execl. Since it will create a new process, webrucec2010-08-176-28/+51
| | | | | | | | | | | can't check to see if sysinstall is running as init just by checking if the PID is 0. Introduce a new option that sets the RunningAsInit flag, and update the code to check RunningAsInit intstead of getpid(). PR: bin/38854 Submitted by: Peter Sedeffow <peter at trumanbrewery.com> Approved by: rrs (mentor) MFC after: 1 month
* Add -m and -M options to control the minimum and maximum frequency.brucec2010-08-172-8/+88
| | | | | | | | PR: bin/145063 Submitted by: Boris Kochergin <spawk at acm.poly.edu> Reviewed by: cperciva Approved by: rrs (mentor) MFC after: 2 weeks
* Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki whilejoel2010-08-1610-14/+14
| | | | | | translating these manual pages. Minor corrections by me. Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp>
* Given the lag between introducing the options-compat and fixing theimp2010-08-151-1/+1
| | | | | | | | bug in the config file was long, and merged to stable, we have to bump the version here so that stable/8 kernels can have their required version number bumped to make sure the right config is used. MFC after: 3 days
* Turns out that it is a bad idea to have a missing compat option be aimp2010-08-151-3/+5
| | | | | | | | | | | | | fatal condition. While it works out really well for diagnosing the case where you want it, but don't have it, it works really badly for the case where you don't have it and don't want it. Remove the printf and exit pair. Replate it with simple return to silently ignore this condition. This is needed to fix the COMPAT_IA32 being required in options.* in stable, but we need to run this change through -current first... MFC after: 3 days
* Correctly spell janice and jimmy as janis and jimi (assumingschweikh2010-08-141-14/+14
| | | | the famous rock stars meant were Miss Joplin and Mr Hendrix.)
* use uintmax_t instead of uint64_t.takawata2010-08-131-1/+1
| | | | Pointed out by: des.
* Fix build on amd64 and ia64.takawata2010-08-131-4/+3
|
* Fix crunchide to work on sparc64 and perhaps other 64 bit platforms.adrian2010-08-121-1/+6
| | | | | | | | | I used the wrong type when setting st_name in the symbol table entry struct. It's an Elf64_Word which is defined as an unsigned 32 bit int on both 32 and 64 bit platforms. To make things sensible, define some new macros to use as "word" macros and use those, rather than simply using the explicit 32 bit macros.
* Fix breakage on 64bit architecture by using inttypes.h macro.takawata2010-08-121-1/+2
|
* Fix tindebox breakage about format warning.takawata2010-08-121-1/+1
|
* Add TCG ACPI spec table (TCPA) support.takawata2010-08-112-0/+274
| | | | Submitted by: Hans-Joerg_Hoexer@genua.de
* - Improve the wait4data() routine so it behaves better when checkinggad2010-08-111-7/+23
| | | | | | | | | | | print-jobs which have last-modification times that are in the future. This shouldn't happen, of course, but it can. And when it did happen, the previous check could cause completely-spooled jobs to sit in the queue for 20 minutes per job. The new code waits until the last-modify time is not changing, instead of making decisions based on the specific value of last-modify. MFC after: 2 weeks
* Fix some typos: flush vs. flash, and some others.olli2010-08-111-3/+3
| | | | | Approved by: des (mentor, implicit) MFC after: 1 week
* Port over changes to the crunch symbol hiding method from NetBSD.adrian2010-08-101-134/+88
| | | | | | | | | | | | The older symbol hiding method breaks for MIPS. This implements symbol hiding through renaming to a symbol name which is highly unlikely to clash. The NetBSD code didn't use byte-swapping macros for endian-awareness; so it didn't work when cross-compiling a MIPS world on i386/amd64. This patch includes those (as best as I could figure what they should be) and has been tested to generate valid MIPS crunch binaries both cross- and native- compiled.
* Back out r210975, which changed documentation to match the now backed-outjamie2010-08-081-5/+5
| | | | r210974.
* This isn't WARNS=6 safe. It fails to build on mips. Retore oldimp2010-08-081-0/+2
| | | | WARNS?=3 until that's resolved.
* jh pointed out that src/usr.sbin already has a globalolli2010-08-071-2/+0
| | | | | | | | WARNS=6 setting in HEAD (unlike stable/8), so it's best to remove the line entirely. Pointed out by: jh Approved by: des (mentor)
* syslogd(8) already supports *sending* log messages to non-olli2010-08-073-9/+60
| | | | | | | | | | | | | | standard ports, but it can't *receive* them (port 514 is hardcoded). This commit adds that missing feature. (NB: I actually needed this feature for a server farm where multiple jails run with shared IP addresses, and every jail should have its own syslogd process.) As a side effect, syslogd now compiles with WARNS=6. Approved by: des (mentor) MFC after: 3 weeks
* Clean up the style and markup of the paragraph on fractional wait intervals.yar2010-08-071-4/+6
| | | | MFC after: 3 days
* Properly spell and mark up the name of kern.hz.yar2010-08-071-2/+3
| | | | MFC after: 3 days
* Move the sentences telling the defaults for -c and -wyar2010-08-071-6/+6
| | | | | | | to where they belong. Previously they were misplaced, i.e., swapped. MFC after: 3 days
* Merge ACPICA 20100806.jkim2010-08-062-3/+4
|
* Note that a jail without a command parameter will be persistent,jamie2010-08-061-5/+5
| | | | | | instead of explicitly requiring one of "command" or "persist". MFC after: 3 days
* Ethernet vlan(4) interfaces have valid Ethernet link layer addresses butjhb2010-08-062-0/+2
| | | | | | | | use a different interface type (IFT_L2VLAN vs IFT_ETHER). Treat IFT_L2VLAN interfaces like IFT_ETHER interfaces when handling link layer addresses. Reviewed by: syrinx (bsnmpd) MFC after: 1 week
* Fix typos and spelling mistakes.joel2010-08-069-12/+12
|
* Typo fixesuqs2010-08-061-9/+9
| | | | | | PR: docs/149314 Submitted by: olgeni MFC after: 3 days
* - Do not use the runtime mask when logfile is specified.fabient2010-08-033-4/+12
| | | | | | - Revert the fix on rtld path that is not necessary. MFC after: 1 week
* Allow file as a top source, it works with socket now.fabient2010-08-032-72/+90
| | | | | | | | | | | | | | | | | This will allow top monitoring using socket/ssh tunnelling of system without local symbols. client: pmcstat -R <ip>:<port> -T -r <symbolspath> monitored device: pmcstat -Sinstructions -O <ip>:<port> - Move the file read in the event loop - Initialize and clean log in all cases - Preserve global stats value during top refresh - Fix the rtld/line resolver that ignore '-r' prefix - Support socket for '-R' (server mode) - Display the statistics when exiting top mode
* Fix the calltree top view that incorrectly filter out some nodes.fabient2010-08-021-2/+8
| | | | MFC after: 1 week
* mdoc: make sure to pass at least one argument to quotation macrosuqs2010-08-021-1/+1
|
* mdoc: remove unused/empty macrosuqs2010-08-021-1/+1
|
* Spelling fixes.joel2010-08-016-8/+8
|
* Fixes a bug when installing with a ZFS on root (/) and UFS /bootimp2010-07-311-0/+14
| | | | | | partition. Don't stamp the zfs boot-loader in this case. Submitted by: kris moore
* Adds the async option for journaled file systems (UFS + journaling)imp2010-07-311-2/+10
| | | | Submitted by: kris moore (kris at pcbsd org)
* Fix a couple of typos.uqs2010-07-302-5/+4
| | | | | | PR: docs/148891 Submitted by: olgeni MFC after: 1 week
* Connect the snmp_wlan(3) module to the build.syrinx2010-07-261-1/+2
| | | | Sponsored by: The FreeBSD Foundation
* Bring in a SNMP module to support monitoring cloned wireless interfacessyrinx2010-07-267-0/+12694
| | | | | | | | via bsnmpd(1). The module implements a private BEGEMOT-WIRELESS-MIB. Sponsored by: The FreeBSD Foundation Reviewed by: philip@ Approved by: philip@
* Fix the include path for nfs_lock.h.rmacklem2010-07-241-1/+1
| | | | MFC after: 2 weeks
* Make failed open of /dev/mdctl in the bsnmpd hostres module non-fatal.simon2010-07-241-2/+5
| | | | | | | This makes it possible to use the hostres module when bsnmpd is not running as root. MFC after: 1 week
* Add a -S switch to override the default syslog pid file. This can be usefulbrian2010-07-233-10/+25
| | | | | | if syslogd's -P switch or a syslogd alternative is being used. MFC after: 3 weeks
* If a size suffix isn't entered, just use the value entered. This fixesbrucec2010-07-221-0/+3
| | | | | | | | | | a bug caused by r209235 where entering a number of blocks after previously entering a size in MB/GB would result in the size of the previous partition being used. PR: bin/148266 Submitted by: jpaetzel Approved by: rrs (mentor)
* Add support for creating the archived log filenames using a time-stampsimon2010-07-222-16/+267
| | | | | | | | | | | | | | | | | | | instead of the traditional simple counter. Using the time-stamp based file-names, once a log file is archived, it will not change name until it is deleted. This means that many backup systems will only perform one backup of the archived log file, instead for performing a new backup of the logfile upon each logfile rotation. This implementation is separate from the patches in the mentioned PR, as I wasn't aware of the existence of the PR until after I had implemented the same functionality as the patches in the PR provide. Unlike the PR, this new code does honor the 'log count' in newsyslog.conf so old logfiles are deleted. This new code does not currently support never deleting the archived logfiles. PR: bin/29363 MFC after: 3 weeks
* Staticify local variables.delphij2010-07-201-13/+11
| | | | | | | | While I'm there also add a 'static' keyword for a function to make it consistent with prototype. Reviewed by: phk MFC after: 3 months
* Build some powerpc-specific utilities on powerpc64 as well.nwhitehorn2010-07-201-1/+1
| | | | Submitted by: Andreas Tobler
* - Fixed automatic detection of the control serial port.thompsa2010-07-201-93/+122
| | | | | | | - Fixed segmentation fault when an invalid network interface was given. - More helpful message in case of wrong PIN number. Submitted by: Fredrik Lindberg
* Fix handling of the "-l" argument for nfsdumpstate(8).rmacklem2010-07-201-1/+1
| | | | | Submitted by: zack.kirsch at isilon.com MFC after: 2 weeks
* - Add Latinamerican keymaps to sysinstall's Makefile so that it cangabor2010-07-191-2/+3
| | | | | | | | | find them [1] - While here, also add a missing Spanish entry PR: bin/67365 [1] Submitted by: Pedro F. Giffuni <giffunip@asme.org> [1] Approved by: delphij (mentor)
* Fix support for chrooted installs.nork2010-07-191-3/+3
| | | | Approved by: imp (mentor)
OpenPOWER on IntegriCloud