summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* - new sentence should start on new line.eadler2011-11-131-2/+2
| | | | | | PR: bin/146541 Submitted by: bjk Approved by: bjk
* - fix duplicate "a a" in some commentseadler2011-11-132-2/+2
| | | | | | Submitted by: eadler Approved by: simon MFC after: 3 days
* - add "check" option to MD5 and friends to compare files against known hash.eadler2011-11-132-8/+40
| | | | | | | | | PR: bin/146541 Submitted by: eadler Reviewed by: jhell@dataix.net Approved by: secteam (cperciva) Approved by: cperciva MFC after: 3 weeks
* Bump date.adrian2011-11-121-1/+1
|
* Add documentation for the new quiet time IE options.adrian2011-11-121-0/+32
| | | | | Submitted by: Himali Patel <himali.patel@sibridgetech.com> Sponsored by: Sibridge Technologies
* Fix build on some archs after r227464.mav2011-11-121-3/+4
|
* Fix buildworld breakage due after r227464.dim2011-11-121-1/+1
| | | | Pointy hat to: mav
* Major GEOM MULTIPATH class rewrite:mav2011-11-122-98/+194
| | | | | | | | | | | | | | | | | | | | | | | | | - Improved locking and destruction process to fix crashes. - Improved "automatic" configuration method to make it consistent and safe by reading metadata back from all specified paths after writing to one. - Added provider size check to reduce chance of ordering conflict with other GEOM classes. - Added "manual" configuration method without using on-disk metadata. - Added "add" and "remove" commands to allow manage paths manually. - Failed paths are no longer dropped from geom, but only marked as FAIL and excluded from I/O operations. - Automatically restore failed paths when all others paths are marked as failed, for example, because of device-caused (not transport) errors. - Added "fail" and "restore" commands to manually control FAIL flag. - geom is now destroyed on last path disconnection. - Added optional Active/Active mode support. Unlike Active/Passive mode, load evenly distributed between all working paths. If supported by the device, it allows to significantly improve performance, utilizing bandwidth of all paths. It is controlled by -A option during creation. Disabled by default now. - Improved `status` and `list` commands output. Sponsored by: iXsystems, inc. MFC after: 1 month
* Use __packed to prevent alignment from taking place, which otherwise maydelphij2011-11-111-5/+5
| | | | | | | | | | change the on-disk format in an incompatible way. Without this change, msdosfs created on FreeBSD/arm would not be mountable. PR: bin/162486 Submitted by: Ian Lepore <freebsd damnhippie dyndns org> Reported by: Mattia Rossi <mrossi at swin.edu.au> MFC after: 3 days
* Note that NAT instance argument can be tablearg.glebius2011-11-101-2/+2
| | | | | PR: misc/162265 Submitted by: Paul Procacci <pprocacci gmail.com>
* Remove trailing whitespace.ed2011-11-091-2/+2
|
* Add quiet time element configuration support to ifconfig.adrian2011-11-081-0/+36
| | | | | | | | | | This allows a hostap to specify to a set of stations that they should not transmit for a certain period of time after each beacon interval has expired. This is used when searching for radar pulses or general interference. Submitted by: Himali Patel <himali.patel@sibridgetech.com> Sponsored by: Sibridge Technologies
* Fix multi-line comment formatting.ae2011-11-071-1/+2
| | | | MFC after: 2 weeks
* Fix multi-line comment formatting.ae2011-11-071-2/+4
| | | | | Pointed by: jh MFC after: 1 week
* Improve error reporting when MBR can not be written.ae2011-11-071-36/+62
| | | | | | | | | Remove obsolete code which uses DIOCSMBR ioctl. When writing MBR first check that GEOM_MBR is available, if it is not available, then try write MBR directly to provider. If both are failed, then recommend to use gpart(8). MFC after: 2 week
* Initialize "acc" value inside the loop to reset failed attempts.ae2011-11-061-2/+2
| | | | | PR: misc/162262 MFC after: 3 days
* Add reference to gpart(8).ae2011-11-061-0/+1
| | | | MFC after: 3 days
* Add reference to gpart(8).ae2011-11-061-0/+1
| | | | MFC after: 3 days
* Add recommendation to use gpart(8) when user tries write disklabelae2011-11-061-4/+15
| | | | | | or bootcode to already opened provider. MFC after: 1 week
* Remove unneeded checks.ae2011-11-061-3/+2
| | | | MFC after: 1 week
* bsdlabel(8) could automatically fill many of disklabel's deprecatedae2011-11-061-11/+35
| | | | | | | | | | | | | fields, but user could specify some of those fields when edits disklabel with `bsdlabel -e`. But without -A flag these fields might be overwritten with default values from the virgin disklabel. So, don't overwrite such fields if they are not zero. Also add checks to prevent creating disklabel with less than DEFPARTITIONS and more than MAXPARTITIONS partitions. PR: bin/162332 Tested by: Eugene Grosbein MFC after: 1 week
* To be in sync with GEOM_PART_BSD limit the maximum number of supportedae2011-11-061-1/+1
| | | | | | partitions to 20. MFC after: 1 week
* Add missing static keywords for global variables to tools in sbin/.ed2011-11-0431-49/+48
| | | | | | These tools declare global variables without using the static keyword, even though their use is limited to a single C-file, or without placing an extern declaration of them in the proper header file.
* remove trailing whitespace...jmg2011-10-291-3/+3
| | | | MFC after: 1 week
* error if /boot/mbr is empty... This can happen on a system like armjmg2011-10-291-0/+2
| | | | | | | that doesn't have a /boot/mbr, and you touch it to get past the previous error message... MFC after: 1 week
* Remove redundant space.pjd2011-10-271-1/+1
| | | | MFC after: 3 days
* Implement 'async' mode for HAST.pjd2011-10-273-55/+81
| | | | MFC after: 3 days
* Minor cleanups.pjd2011-10-271-1/+2
| | | | MFC after: 3 days
* Reduce indentation.pjd2011-10-271-24/+24
| | | | MFC after: 3 days
* Improve comment so it doesn't suggest race is possible, but that we handlepjd2011-10-271-1/+1
| | | | | | the race. MFC after: 3 days
* - Eliminate the need for hio_nv.pjd2011-10-271-25/+55
| | | | | | | - Introduce hio_clear() function for clearing hio before returning it onto free queue. MFC after: 3 days
* Monor cleanups.pjd2011-10-271-6/+7
| | | | MFC after: 3 days
* Delay resuid generation until first connection to secondary, not until firstpjd2011-10-271-6/+3
| | | | | | | write. This way on first connection we will synchronize only the extents that were modified during the lifetime of primary node, not entire GEOM provider. MFC after: 3 days
* Correct comments.pjd2011-10-271-3/+3
| | | | MFC after: 3 days
* Clarify disks/volumes above 2TiB support in geom_raid:mav2011-10-261-1/+4
| | | | | | | | | | - add support for volumes above 2TiB with Promise metadata format; - enforse and document other limitations: - Intel and Promise metadata formats do not support disks above 2TiB; - NVIDIA metadata format does not support volumes above 2TiB. Sponsored by: iXsystems, Inc. MFC after: 2 weeks
* - Add support for a "!" character in regex matching in devd(8). It invertshrs2011-10-263-4/+19
| | | | | | | | | the logic (true/false) of the matching. - Add "!usbus[0-9]+" to IFNET ATTACH notification handler in the default devd.conf to prevent rc.d/netif from running when usbus[0-9]+ is attached. Reviewed by: imp
* Build swapon with WARNS=6.ed2011-10-252-6/+5
| | | | Don't use a variable called stat, because it collides with stat(2).
* Add support for creating GELI devices with older metadata version for usepjd2011-10-252-7/+84
| | | | | | | | | | | | | | with older FreeBSD versions: - Add -V option to 'geli init' to specify version number. If no -V is given the most recent version is used. - If -V is given don't allow to use features not supported by this version. - Print version in 'geli list' output. - Update manual page and add table describing which GELI version is supported by which FreeBSD version, so one can use it when preparing GELI device for older FreeBSD version. Inspired by: Garrett Cooper <yanegomi@gmail.com> MFC after: 3 days
* Revert r226726. The line was not duplicated.pjd2011-10-251-0/+1
| | | | | Spotted by: pluknet MFC after: 3 days
* Remove duplicated line.pjd2011-10-251-1/+0
| | | | MFC after: 3 days
* Add 'geli version' subcommand, which will print GELI metadata version of eachpjd2011-10-252-0/+62
| | | | | | | given GEOM provider or if not providers are given it will print versions supported by userland geli(8) utility and by ELI GEOM class. MFC after: 3 days
* When we detect GELI metadata version that is newer than the highest wepjd2011-10-251-5/+35
| | | | | | | support, inform the user about that instead of 'MD5 hash mismatch'. Suggested by: Garrett Cooper <yanegomi@gmail.com> MFC after: 3 days
* Simplify eli_resize() function.pjd2011-10-251-10/+4
| | | | MFC after: 3 days
* Simplify eli_dump() function and allow to dump metadata stored in backup file.pjd2011-10-251-13/+3
| | | | MFC after: 3 days
* If 'req' is NULL, print error on stderr.pjd2011-10-251-2/+7
| | | | MFC after: 3 days
* Simplify eli_is_attached() function and make it return boot instead of int.pjd2011-10-251-6/+2
| | | | MFC after: 3 days
* Simplify eli_backup_create() and eli_backup_restore() functions.pjd2011-10-251-87/+28
| | | | | | | As a side-effect it is now possible to backup unsupported (newer) GELI metadata versions. MFC after: 3 days
* Sort includes.pjd2011-10-251-13/+13
| | | | MFC after: 3 days
* Add new option -F to specify alternative location of the /etc/fstabsobomax2011-10-252-4/+29
| | | | | | file. MFC after: 1 month
* Add new option -c to specify alternatve location of the /etc/fstabsobomax2011-10-252-2/+16
| | | | | | file. MFC after: 1 month
OpenPOWER on IntegriCloud