summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Give kldunload a -f(orce) argument.phk2004-07-132-2/+13
| | | | | | | | | | | | | | | | | Add a MOD_QUIESCE event for modules. This should return error (EBUSY) of the module is in use. MOD_UNLOAD should now only fail if it is impossible (as opposed to inconvenient) to unload the module. Valid reasons are memory references into the module which cannot be tracked down and eliminated. When kldunloading, we abandon if MOD_UNLOAD fails, and if -force is not given, MOD_QUIESCE failing will also prevent the unload. For backwards compatibility, we treat EOPNOTSUPP from MOD_QUIESCE as success. Document that modules should return EOPNOTSUPP for unknown events.
* Document sysctl variables.pjd2004-07-133-0/+52
| | | | Based on: simon's patch
* Those sysctl are used to control GEOM class, not a userland utility.pjd2004-07-131-4/+6
| | | | Reviewed by: simon
* Document sysctls variables used by GEOM_STRIPE class.pjd2004-07-131-0/+37
| | | | Submitted by: simon
* Decrease default stripe size to 4k, as we have "FAST" mode turned on bypjd2004-07-092-2/+2
| | | | default.
* Remove support for gemdos, John removed it from the driver awhile ago.trhodes2004-07-081-8/+0
| | | | Glanced at by: jhb
* Slight markup and grammar fixes.ru2004-07-075-20/+23
|
* mdoc(7) fixes.ru2004-07-072-2/+4
|
* Removed redundant and unsafe BINDIR redefinition.ru2004-07-071-1/+0
|
* Fix copy&paste bug.pjd2004-07-061-1/+1
|
* Parenthesised string literals are invalid in initialisers for character arrays.stefanf2004-07-061-1/+1
| | | | Use braces instead.
* - Add 'stop' command, which works just like 'destroy' command, but soundspjd2004-07-056-11/+74
| | | | | | less dangerous. - Update manual pages and extend examples. - Bump versions.
* MFp4: gmirror(8) is coming soon, and we need g_metadata_read() there.pjd2004-07-052-0/+55
|
* Give natd multi-instance capabilities.phk2004-07-043-176/+410
| | | | This makes it possible to do load-sharing on two xDSL lines etc.
* One more hard sentence break.ru2004-07-031-1/+2
|
* Grammar nits.pjd2004-07-031-4/+4
| | | | Submitted by: David Magda <dmagda@ee.ryerson.ca>
* Deal with double whitespace.ru2004-07-034-10/+16
|
* Mechanically kill hard sentence breaks.ru2004-07-0237-585/+1148
|
* Introduce GEOM_LABEL class.pjd2004-07-024-0/+377
| | | | | | | | | | | | | | | | | | | | | | | This class is used for detecting volume labels on file systems: UFS, MSDOSFS (FAT12, FAT16, FAT32) and ISO9660. It also provide native labelization (there is no need for file system). g_label_ufs.c is based on geom_vol_ffs from Gordon Tetlow. g_label_msdos.c and g_label_iso9660.c are probably hacks, I just found where volume labels are stored and I use those offsets here, but with this class it should be easy to do it as it should be done by someone who know how. Implementing volume labels detection for other file systems also should be trivial. New providers are created in those directories: /dev/ufs/ (UFS1, UFS2) /dev/msdosfs/ (FAT12, FAT16, FAT32) /dev/iso9660/ (ISO9660) /dev/label/ (native labels, configured with glabel(8)) Manual page cleanups and some comments inside were submitted by Simon L. Nielsen, who was, as always, very helpful. Thanks!
* Bump up the date and add spaces around commas. Thanks to ru@ for noticing.arun2004-07-021-2/+2
|
* Deal with harmful leading whitespace.ru2004-07-021-1/+1
|
* Added the ability to create and display Linux/Windows GPT partitions to gpt(8).arun2004-07-013-3/+10
|
* Create a unix domain socket and write to it all the events that comeimp2004-07-012-14/+91
| | | | in over the socket.
* o Fix semantics of comparison function for qsort(3). According to qsort(3)sobomax2004-06-251-2/+6
| | | | | | | | | | | | | | | | manpage: The comparison function must return an integer less than, equal to, or greater than zero if the first argument is considered to be respectively less than, equal to, or greater than the second. Therefore, simply returning "arg1 > arg2" is incorrect. Actually it works but for the number of items to be sorted less than 7 due to special case handling in qsort(3); o add missing '\n' to one of usage() calls. Approved by: phk
* fix handling of an unknown progeam nameeik2004-06-221-1/+1
| | | | | Noticed by: Joshua Goodall <joshua@roughtrade.net> Approved by: ru
* Print mediasize in human readable form as well.pjd2004-06-213-5/+10
|
* Print the `99.99% done, finished soon' message only as often as theiedowse2004-06-191-2/+5
| | | | | | | normal status messages. Previously a large number of these new messages could be spewed out towards the end of a dump. Reviewed by: imp
* Note that conscontrol set and unset are an interface for TIOCCONS.green2004-06-181-0/+4
|
* Fix indentation of continuation lines to (hopefully) comply withjoerg2004-06-181-28/+30
| | | | | | style(9). Reminded by: bde
* Add to conscontrol(8) "set" and "unset" commands which modify thegreen2004-06-182-4/+43
| | | | | virtual console set-up. Specifically, "conscontrol unset" will cause printf(9) output to start going to the console again.
* Add missing newlines.pjd2004-06-172-8/+8
|
* Commit userland part of pf version 3.5 from OpenBSD (OPENBSD_3_5_BASE).mlaier2004-06-162-3/+4
|
* Implement 3 new functions:pjd2004-06-162-4/+77
| | | | | | | | | | - g_lcm() - calculates Least Common Multiple of two given values, it is helpful when we need to find sector size for provider which is based on disks with different sector size; - g_get_mediasize() - returns media size of given provider; - g_get_sectorsize() - returns sector size of given provider; Those function aren't used now, but are used by geom_mirror which will be committed soon.
* When parsing an argument as an address in getaddr(), heed the -host optionbms2004-06-161-1/+1
| | | | | | | in all cases. The failure mode in the PR is easily reproducible without this patch. PR: bin/43139
* Turn on RFC 1724 compliant behaviour with regards to IP_ADD_MEMBERSHIP;bms2004-06-161-1/+1
| | | | | | | | | routed should be able to specify multicast memberships to be added by interface index. This should fix the unnumbered / point-to-point case for RIPv2. PR: bin/51927 Requested by: Eugene Grosbein
* Connect geom(8) to the build.pjd2004-06-151-1/+1
| | | | Reminded by: des
* Ignore kernel routes with the RTF_WASCLONED flag set. This is a slightbms2004-06-151-4/+4
| | | | | | | | modification of a patch which was already applied for BSD/OS in the Rhyolite.com sources; this file is already off the vendor branch. PR: bin/57484 Submitted by: Richard Perini
* mdoc(7) policebms2004-06-141-2/+3
| | | | Submitted by: ru
* Wordsmith the BUGS section re: IPv6 link-local addresses.bms2004-06-141-7/+13
| | | | | PR: docs/66541 Submitted by: Michel Lavondes (with some cleanups/additions)
* Make fdisk initialize the first instead of the last slice by default.phk2004-06-141-3/+3
|
* Add gvinum, the geom_vinum userland tool.le2004-06-123-0/+811
|
* Add sha1 and rmd160 checksum tools.eik2004-06-113-67/+206
| | | | | | | | Since the algorithms are already supported in libmd, the size increase is small when a dynamic root is used. Approved by: joerg, ru MFC after: 2 weeks
* Cast the arguments to make_h_number() to uintmax_t before multiplyingjoerg2004-06-111-2/+2
| | | | them... Otherwise the result will be truncated anyway.
* Fixed a bug spotted by compiling with -Wall.ru2004-06-101-1/+1
|
* Introduce a new feature to IPFW2: lookup tables. These are usefulru2004-06-092-4/+169
| | | | | | | for handling large sparse address sets. Initial implementation by Vsevolod Lobko <seva@ip.net.ua>, refined by me. MFC after: 1 week
* Reapply traditionally lost fixes, fixed some more.ru2004-06-051-38/+43
| | | | This manpage needs an English clenup.
* Typedefing an array of incomplete structs is non-standard C code.stefanf2004-06-021-1/+1
| | | | Approved by: das (mentor)
* Remove extra semicolon.pjd2004-06-021-1/+1
| | | | Inspired by: fjoe
* o Move NEED1 macro to the top of the source file.csjp2004-06-021-6/+6
| | | | | | | | | | | o Add sanity checking to the firewall delete operation which tells the user that a firewall rule specification is required. The previous behaviour was to exit without reporting any errors to the user. Approved by: bmilekic (mentor)
* ru's mdoc(7) style police was here.joerg2004-06-021-23/+23
| | | | Submitted by: ru
OpenPOWER on IntegriCloud