summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mptutil
Commit message (Collapse)AuthorAgeFilesLines
* Similar to mfiutil, drop local definition of powerof2() and use versionjhb2010-11-221-2/+0
| | | | from <sys/param.h> instead.
* - Save errno values before calling warn(3) so that errors are correctlyjhb2010-11-097-184/+253
| | | | | | | | reported. - Check for malloc() failures. Submitted by: gcooper MFC after: 1 week
* Report subcommand handler errors in mfiutil/mptutil so that tools thatrandi2010-10-101-3/+5
| | | | | | | | | invoke the utilities can robustly report errors. Submitted by: gcooper Reviewed by: jhb Approved by: cperciva (mentor) MFC after: 1 week
* Spelling fixes.joel2010-08-011-1/+1
|
* Syntax, commas and stuff. Comments from jhb.sbruno2010-06-211-2/+2
| | | | | PR: bin/147572 MFC after: 2 weeks
* Expand man page to document the fact that mptutil/mpt doesn't support RAID ↵sbruno2010-06-171-0/+12
| | | | | | | | | | | volumes in excess of 2TB. Document workaround via geom or zfs Modified submitter's original patch to reference why this is broken and what to do to work around the issue. Submitted by: hubert@tournier.org PR: bin/147572 Reviewed by: jhb MFC after: 2 weeks
* mdoc: move remaining sections into consistent orderuqs2010-05-131-5/+5
| | | | | | | This pertains mostly to FILES, HISTORY, EXIT STATUS and AUTHORS sections. Found by: mdocml lint run Reviewed by: ru
* Fixed static linkage.ru2010-02-261-2/+2
|
* Fix mptutil's method for locating disk devices attached to a specificjhb2010-02-191-113/+109
| | | | | | | | | | | | | mpt(4) controller. Previously, the code assumed that multiple match patterns provided to an XPT_DEV_MATCH request were ANDed together. Instead, they are ORed. Instead, to match peripherals for a specific bus, one query needs to be performed to lookup the path ID of the bus. A second query can then be performed matching peripherals attached to that path. This approach also makes the code a bit cleaner as the returned match results do not mix bus and perphierals. Reported by: several folks MFC after: 1 week
* - Don't emit a warning in 'show adapter' if the IOC2 or IOC6 pages are notjhb2010-02-191-5/+11
| | | | | | | | present. mpt(4) controllers that do not support RAID do not have an IOC6 page, for example. - Correct a check for a missing page error in a debug function. MFC after: 1 week
* Update the mptutil man page for FreeBSD 8.0scottl2009-08-171-3/+6
| | | | Approved by: re
* Add mptutil, a basic utility for managing MPT SCSI/SATA/SAS controllers.scottl2009-08-1411-0/+4428
Drive and controller status can be reported, basic attributes changed, and arrays and spares can be created and deleted. Approved by: re Obtained from: Yahoo! Inc.
OpenPOWER on IntegriCloud