summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Fix potential buffer overflow.le2004-07-241-2/+2
| | | | | PR: bin/14697 Submitted by: Matthew <kienow@infinet.com>
* Add references to pf(4) and pfctl(8) at the description ofkeramida2004-07-221-2/+7
| | | | | | | securelevel = 3. PR: docs/69417 Submitted by: Janos Mohacsi (mohacsi(at)niif(dot)hu)
* Extend versrcreach by checking against the rt_flags for RTF_REJECT andandre2004-07-211-2/+2
| | | | | | | | | | | | | | | | | | RTF_BLACKHOLE as well. To quote the submitter: The uRPF loose-check implementation by the industry vendors, at least on Cisco and possibly Juniper, will fail the check if the route of the source address is pointed to Null0 (on Juniper, discard or reject route). What this means is, even if uRPF Loose-check finds the route, if the route is pointed to blackhole, uRPF loose-check must fail. This allows people to utilize uRPF loose-check mode as a pseudo-packet-firewall without using any manual filtering configuration -- one can simply inject a IGP or BGP prefix with next-hop set to a static route that directs to null/discard facility. This results in uRPF Loose-check failing on all packets with source addresses that are within the range of the nullroute. Submitted by: James Jun <james@towardex.com>
* The media info is printed with the -hardware option so there is noharti2004-07-211-1/+1
| | | | point to write 'Media' in the table header for the -atm option.
* 'atmconfig natm show' shows all currently configured PVCs for IP over ATM,harti2004-07-211-1/+1
| | | | not 'atmconfig natm list'.
* Add special lines for 'help commands'.harti2004-07-211-4/+7
|
* Allow more than one help file. There is a restriction thatharti2004-07-211-74/+289
| | | | each help file must start with a level 0 topic.
* Allow the help file path and name to be overwritten by cc -D...harti2004-07-212-1/+9
| | | | | Also remove the current directory from the default help file path and add an appropriate directory in /usr/local instead.
* The natm sub-command was missing in the TOC of the helpfile.harti2004-07-201-0/+1
|
* MFp4: Add two options for gnop(8)'s 'create' command:pjd2004-07-192-1/+11
| | | | | -o offset - specifies where to start on the original provider -s size - specifies size of the transparent provider
* Clarify boot.8 (i386 version) a bit, so that people knowsilby2004-07-181-2/+10
| | | | | | where boot.config needs to reside. Also change /kernel to /boot/loader, as that is the apparent default now. This man page probably requires more updates.
* `off' is a keyword, not a parameter name.maxim2004-07-181-1/+1
| | | | Obtained from: DragonFly
* MFp4: Add 'dump' command to gconcat(8), glabel(8) and gstripe(8) which allowpjd2004-07-186-3/+181
| | | | to dump metadata from given components.
* Mention the vfs.usermount sysctl.brueffer2004-07-181-0/+4
| | | | | Obtained from: NetBSD via DragonFly BSD MFC after: 3 days
* Add a reference to glabel(8).pjd2004-07-141-0/+1
|
* 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
OpenPOWER on IntegriCloud