summaryrefslogtreecommitdiffstats
path: root/usr.sbin
Commit message (Collapse)AuthorAgeFilesLines
...
* KNFobrien2011-11-151-16/+17
|
* Improve the chances of matching an outputted string with the line of code.obrien2011-11-155-129/+161
|
* - fix duplicate "a a" in some commentseadler2011-11-132-2/+2
| | | | | | Submitted by: eadler Approved by: simon MFC after: 3 days
* Fix spelling of extract.alfred2011-11-131-2/+2
| | | | Pointed out by: gcooper
* Utilize shell's IFS instead of forking ~6 processes toalfred2011-11-131-48/+70
| | | | | | | | handle splitting input files on a '|'. This greatly reduces the time taken to process several databases during the update process. Additionally add some more debug logging.
* Report the amount of memory from smbios data if provided.emaste2011-11-121-1/+5
| | | | | | | | This should get the correct memory size even if a 32-bit image is running on a machine with > 4GB of memory. This can be useful is using a 32-bit installer on a machine which will eventually run a 64-bit image. Reviewed by: kmoore
* - add a missing "be" and "in"eadler2011-11-111-1/+1
| | | | | | | | | | | - fix other errors introduced when committing r226436 - add 'function' to a sentence where it makes sense Submitted by: delphij Submitted by: dougb Submitted by: jhb Approved by: dougb Approved by: jhb
* The generated Makefile for the kernel was not running ctfconvert onrstone2011-11-101-3/+8
| | | | | | | | | | | | | object files corresponding to source files that had the compile-with option set in conf/files. This means that any fbt probes for functions in that object file would not have correct argument types. The fix is to run ctfconvert on any target file that does not have the no-obj option set in files. PR: bin/160275 Reported by: Paul Ambrose (ambrosehua AT gmail DOT com) MFC after: 1 week
* Welcome the initial patches for OSX bootcamp support!!!jpaetzel2011-11-083-5/+80
| | | | | | | | This should let you select the ada0p3 hybrid MBR/GPT partition, and do an installation to it. Approved by: kib (mentor) Obtained from: kris@pcbsd.org MFC after: 3 days
* Remove a note about disabling of GEOM protection mechanism.ae2011-11-071-16/+1
| | | | | | boot0cfg should work without such hack. MFC after: 3 days
* Reorganize write_mbr() function to be able write bootcode with differentae2011-11-071-54/+83
| | | | | | | | | | ways. Improve error reporting and also fix indenting. Now we are trying to write bootcode: 1. Directly to provider (if we can open it for writing); 2. Via GEOM_PART (if it is available); 3. Via GEOM_MBR. MFC after: 2 weeks
* Add reference to gpart(8).ae2011-11-061-1/+2
| | | | MFC after: 3 days
* Mark global functions and/or variables in spray(8) static where possible.ed2011-11-061-4/+4
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in snapinfo(8) static where possible.ed2011-11-061-11/+12
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in rmt(8) static where possible.ed2011-11-061-12/+12
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in rip6query(8) static where possible.ed2011-11-061-3/+3
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in pwd_mkdb(8) static where possible.ed2011-11-061-1/+1
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in moused(8) static where possible.ed2011-11-061-8/+8
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in mixer(8) static where possible.ed2011-11-061-1/+1
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in memcontrol(8) static where possible.ed2011-11-061-4/+2
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in fdread(8) static where possible.ed2011-11-061-8/+8
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in devinfo(8) static where possible.ed2011-11-061-2/+2
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in chown(8) static where possible.ed2011-11-061-14/+14
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in boot0cfg(8) static where possible.ed2011-11-061-4/+4
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Mark global functions and/or variables in apm(8) static where possible.ed2011-11-061-1/+1
| | | | This allows compilers and static analyzers to do more thorough analysis.
* Make all functions and global variables static for cdcontrol(8).ed2011-11-061-57/+78
| | | | | | While there, replace __const by const, which seems to be our preference nowadays. Also fix some style(9) bugs by adding newlines and removing unneeded spaces from function declarations.
* Mark all global variables static for mptable(1).ed2011-11-061-25/+16
| | | | While there, remove basetableEntryTypes, which became unused in r71209.
* Eliminate global variables.ed2011-11-061-5/+2
| | | | | | There is no reason why these three variables should be declared as global variables, while the others aren't. They are only used inside main().
* Simplify inclusion of the tsptype array a bit.ed2011-11-062-3/+1
| | | | We don't need this array in timed.c -- only readmsg.c.
* Roll up several patches used by PC-BSD.jpaetzel2011-11-054-4/+13
| | | | | | | | | | - Fix an issue with gmirror. - Allow IPv4 DHCP and IPv6 SLAAC concurrently. - Fix zpool options using the wrong device name. Approved by: kib (mentor) Obtained from: kris@pcbsd.org MFC after: 3 days
* 1. Add a new option, --run-updates, to always or never run the newalises,dougb2011-11-022-17/+63
| | | | | | | | | | | | | pwd_mkdb, etc. updates at the end of the comparison. 2. Add an update to the end to handle /etc/localtime, if it exists. If /var/db/zoneinfo exists, automatically update /etc/localtime, which should (hopefully) be safe to do. If not, prompt the user to run tzsetup. 3. Update run_it_now(), the function that handles input for the updates, to make sure that we got a valid answer, and to handle the --run-updates option if supplied.
* If the user is moving from any other time zone to UTC we needdougb2011-11-021-0/+12
| | | | | to delete any old /var/db/zoneinfo file that may exist so that tzsetup -r does the right thing.
* Two bugs fixed:fabient2011-11-011-2/+4
| | | | | | | - Do not close stdout or stderr when redirecting to file. - Correctly handle error code to detect when no buffer available. MFC after: 1 month
* Provide an error message and error handling if there are no networknwhitehorn2011-10-251-0/+7
| | | | | | | | interfaces in the system. This is a non-fatal error except when doing a network installation. PR: bin/161950 MFC after: 3 days
* Provide an error message instead of silent failure if no disks are presentnwhitehorn2011-10-251-4/+13
| | | | | | | in the system. PR: bin/161950 MFC after: 3 days
* Protect NIS server with madvise(2) since this daemon is requiredglebius2011-10-251-0/+4
| | | | for succesful authentication of users.
* Fix argument name. This fixes EINVAL when boot0cfg uses GEOM_PART'ae2011-10-251-1/+1
| | | | | | control interface. MFC after: 3 days
* Staticify elide_root() for now to fix build.delphij2011-10-241-1/+1
|
* Avoid printing // for packages that install to /emaste2011-10-241-3/+11
| | | | | | I have some packages that install to / (for whatever reason). Right now we print entries of the form //path/to/file when listing files (pkg_info -L, pkg_info -g etc.) This change avoids printing the redundant / .
* Protect NIS client with madvise(2) since this daemon is requiredglebius2011-10-241-0/+4
| | | | for succesful authentication of users.
* Apparently, "ada" drives are better treated similarly to "da" drives.ivoras2011-10-241-1/+2
|
* It seems that the warning is much less severe than its message says. Theivoras2011-10-241-1/+1
| | | | device is certainly added to the list after the first pass.
* Fix typoivoras2011-10-242-2/+2
| | | | MFC after: 1 month
* Avoid some "Invalid argument" errors in the installer.nwhitehorn2011-10-231-3/+20
| | | | | PR: bin/161926 MFC after: 5 days
* Add '%' and '@' to the set of characters which can appear in path names.cperciva2011-10-231-1/+1
| | | | Without this change, freebsd-update refuses to accept 9.0 metadata files.
* Add a flush of the current PMC log buffer before displaying the next top.fabient2011-10-182-9/+11
| | | | | | | | As the underlying block is 4KB if the PMC throughput is low the measurement will be reported on the next tick. pmcstat(8) use the modified flush API to reclaim current buffer before displaying next top. MFC after: 1 month
* Escape the newline so we get a proper line continuation. Without thiskensmith2011-10-181-1/+1
| | | | | | | the text of the menu selections doesn't get displayed properly and it makes the installer appear to lock up for no obvious reason. Reviewed by: nwhitehorn
* - remove device keyword from makefs manpageeadler2011-10-171-2/+1
| | | | | | | | PR: docs/144408 Submitted by: gcooper Approved by: gjb Approved by: sahil (mentor) MFC after: 1 week
* Make the usbdump utility work again by using the correct BPF structures.hselasky2011-10-171-5/+5
| | | | MFC after: 3 days
* Place quotes around the output of kbdmap(1), designed to be pasted intonwhitehorn2011-10-161-1/+1
| | | | | | | | /etc/rc.conf. PR: bin/161711 Submitted by: manolis MFC after: 1 week
OpenPOWER on IntegriCloud