summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* IPFW version 2 is the only option now in HEAD. Do not confuseglebius2005-05-041-45/+0
| | | | | users of future releases with instructions about building IPFW2 on RELENG_4.
* Add -m option (find module using modfind() and stat it).fjoe2005-05-042-5/+31
|
* Update ifconfig's pfsync module for 3.7 pfsync(4)mlaier2005-05-031-14/+80
|
* Adapt Makefiles for pfctl(8) and authpf(8) to 3.7 sources.mlaier2005-05-031-0/+1
|
* Cleanups for gcc4:delphij2005-05-023-4/+3
| | | | | | | | - Use socklen_t for socket functions - Remove an unnecessary extern - Signed/unsigned cleanups Reviewed by: harti
* WARNS=6 and gcc4 cleanup:delphij2005-05-021-15/+15
| | | | | | - Use const where necessary - Use __unused where applicable - Rename variables that is conflicit with global definations
* include stdarg.h for va_listdelphij2005-05-021-0/+1
|
* Make gcc4 happy by making consistent signedness.delphij2005-05-021-1/+1
|
* - Merged some missing changes from fdisk/fdisk.c.nyan2005-05-012-434/+39
| | | | | - Remove ifdef PC98. - Make WARN=4 clean.
* cosmetic changes.nyan2005-05-011-17/+15
|
* Merged more changes from fdisk/fdisk.c.nyan2005-05-011-26/+7
|
* Use NDOSPART macro instead of a magic number.nyan2005-05-011-2/+2
|
* Merged from src/sbin/fdisk/fdisk.c revision 1.77.nyan2005-05-011-2/+2
|
* If we resort to opening a slice instead of the base device, do so withphk2005-04-291-1/+1
| | | | the correct mode for our arguments.
* Remove trailing spaces.pjd2005-04-291-1/+1
|
* Patches from Ruslam Ermilov to remove NetBSD bits from Makefiles and cleanupdarrenr2005-04-288-38/+4
| | | | build problems with rescue.
* Fix a the previous commit. I wanted to remove the if and always run thebrooks2005-04-261-0/+1
| | | | | | | body not remove both. Reported by: ceri Pointy hat: brooks
* Don't force IPv6 proto to be printed numericaly.brooks2005-04-261-2/+0
| | | | Noticed by: ceri
* Not looking for ipfilter source files in the right placedarrenr2005-04-261-1/+1
|
* Fix stripe size in example.pjd2005-04-261-1/+1
| | | | | Found by: kris MFC after: 3 days
* remove old directories used to build ipfilter toolsdarrenr2005-04-254-69/+0
|
* There's only one ipfilter directory nowdarrenr2005-04-251-8/+0
|
* create a new build heirarchy for ipfilter toolsdarrenr2005-04-2514-16/+418
|
* - distinguish between the device name (what the user called it on thedes2005-04-245-17/+45
| | | | | | | | | | | | command line) and the device path (what we passed to open()). Use the former in diagnostics. - when adding or removing partitions, print a single line to stdout for each partition that was added or removed, indicating its name. - add an -a option to 'gpt remove' which must be explicitly specified to remove all partitions. Approved by: marcel (in prinicple) MFC after: 2 weeks
* Remove duplicated description of 'clear' subcommand.pjd2005-04-231-2/+0
| | | | | Pointed out by: marck X-MFC-after: few seconds
* Use .Pa instead of .Xr to follow mdoc(7)jcamou2005-04-201-2/+2
| | | | | | | | specifications. Noticed by: trhodes Approved by: trhodes (mentor) MFC after: 1 day
* Add IPv6 support to IPFW and Dummynet.brooks2005-04-182-65/+820
| | | | Submitted by: Mariano Tortoriello and Raffaele De Lorenzo (via luigi)
* 'r' disk devices no longer exist, so don't try to create a pathnameimp2005-04-181-20/+10
| | | | | | | that has an 'r' in it. This also eliminates a bogus use of strlcat. PR: 80064
* Fix parsing of nomatch events.imp2005-04-181-3/+6
| | | | minor debug fix.
* Document 'clear' and 'dump' subcommands.pjd2005-04-151-0/+11
| | | | MFC after: 1 week
* Remove dead code.rees2005-04-141-6/+0
| | | | | | PR: bin/78125 Submitted by: Gavin Atkinson <gavin.atkinson@ury.york.ac.uk> Approved by: alfred
* Show descriptions for type CTLTYPE_NODES.mdodd2005-04-131-0/+5
|
* Zero buffers. Seatbelt against sysctl(3) returning non-NUL terminatedmdodd2005-04-131-0/+2
| | | | string data.
* ISO C does not allow unnamed union members.stefanf2005-04-082-6/+6
|
* Fix typo in comment.stefanf2005-04-081-1/+1
|
* Grammatical improvement.ceri2005-04-081-1/+1
|
* When accessing the sysctl vfs.nfs.iodmax, don't report errors as beingbrooks2005-04-071-1/+1
| | | | from accessing vfs.nfs.iodmin.
* Allow classes to specify local source files.pjd2005-04-071-2/+2
| | | | MFC after: 3 weeks
* Empty error buffer is not an error.pjd2005-04-071-1/+1
| | | | MFC after: 3 weeks
* Document the configuration files used.jcamou2005-04-051-0/+3
| | | | | | PR: docs/79572 Submitted by: Josh Paetzel <josh@tcbug.org> Approved by: trhodes (mentor)
* Be more specific when complaining about bit masks.brooks2005-04-051-2/+2
|
* Remove debug from last commitimp2005-04-031-2/+0
|
* /*-imp2005-04-031-1/+1
|
* Don't define FS_DEBUG by default, as this causes growfs to write debuggingrwatson2005-03-311-1/+0
| | | | | | | information to /tmp/growfs.debug, which is a world-writable directory. MFC after: 3 days Reported by: Jon Passki <cykyc@yahoo.com>
* Don't default to '/var/tmp/ffsinfo' for the output of ffsinfo(8), sincerwatson2005-03-312-8/+8
| | | | | | | /var/tmp is a world-writable directory. MFC after: 3 days Reported by: Jon Passki <cykyc@yahoo.com>
* Fix grammar error caused by my previous edit.joerg2005-03-301-2/+2
| | | | | | While being here, also update the copyright year. Submitted by: ru
* This is the much rumoured ATA mkIII update that I've been working on.sos2005-03-301-14/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o ATA is now fully newbus'd and split into modules. This means that on a modern system you just load "atapci and ata" to get the base support, and then one or more of the device subdrivers "atadisk atapicd atapifd atapist ataraid". All can be loaded/unloaded anytime, but for obvious reasons you dont want to unload atadisk when you have mounted filesystems. o The device identify part of the probe has been rewritten to fix the problems with odd devices the old had, and to try to remove so of the long delays some HW could provoke. Also probing is done without the need for interrupts, making earlier probing possible. o SATA devices can be hot inserted/removed and devices will be created/ removed in /dev accordingly. NOTE: only supported on controllers that has this feature: Promise and Silicon Image for now. On other controllers the usual atacontrol detach/attach dance is still needed. o Support for "atomic" composite ATA requests used for RAID. o ATA RAID support has been rewritten and and now supports these metadata formats: "Adaptec HostRAID" "Highpoint V2 RocketRAID" "Highpoint V3 RocketRAID" "Intel MatrixRAID" "Integrated Technology Express" "LSILogic V2 MegaRAID" "LSILogic V3 MegaRAID" "Promise FastTrak" "Silicon Image Medley" "FreeBSD PseudoRAID" o Update the ioctl API to match new RAID levels etc. o Update atacontrol to know about the new RAID levels etc NOTE: you need to recompile atacontrol with the new sys/ata.h, make world will take care of that. NOTE2: that rebuild is done differently from the old system as the rebuild is now done piggybacked on read requests to the array, so atacontrol simply starts a background "dd" to rebuild the array. o The reinit code has been worked over to be much more robust. o The timeout code has been overhauled for races. o Support of new chipsets. o Lots of fixes for bugs found while doing the modulerization and reviewing the old code. Missing or changed features from current ATA: o atapi-cd no longer has support for ATAPI changers. Todays its much cheaper and alot faster to copy those CD images to disk and serve them from there. Besides they dont seem to be made anymore, maybe for that exact reason. o ATA RAID can only read metadata from all the above metadata formats, not write all of them (Promise and Highpoint V2 so far). This means that arrays can be picked up from the BIOS, but they cannot be created from FreeBSD. There is more to it than just the missing write metadata support, those formats are not unique to a given controller like Promise and Highpoint formats, instead they exist for several types, and even worse, some controllers can have different formats and its impossible to tell which one. The outcome is that we cannot reliably create the metadata of those formats and be sure the controller BIOS will understand it. However write support is needed to update/fail/rebuild the arrays properly so it sits fairly high on the TODO list. o So far atapicam is not supported with these changes. When/if this will change is up to the maintainer of atapi-cam so go there for questions. HW donated by: Webveveriet AS HW donated by: Frode Nordahl HW donated by: Yahoo! HW donated by: Sentex Patience by: Vife and my boys (and even the cats)
* Support VTOC volume names. This can be useful to distinguish multiplejoerg2005-03-302-6/+59
| | | | | | | disks in a system. Solaris' format(1m) displays the volume names in the disk overview. MFC after: 1 month
* Initialize iovlen variable to 0 before passing it by reference to thekan2005-03-281-0/+1
| | | | | | build_iovec function. Tripped over by: Craig Rodrigues
* Add "report only" functionality to 'camcontrol format', so users can get aken2005-03-262-5/+20
| | | | | | | | | | report on the status of a format already running on a drive. Fix status reporting for 'camcontrol format'. This was broken in rev 1.34 of camcontrol.c, almost 4 years ago! Submitted by: joerg (most of the reportonly changes) MFC after: 3 days
OpenPOWER on IntegriCloud