aboutsummaryrefslogtreecommitdiff
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Downgrade WARNS level until GCC 3.4.2 warning have been fixed.Alexander Kabaev2004-07-281-1/+1
| | | | Notes: svn path=/head/; revision=132761
* Bump the date, .Dd, since the document content has been changedYaroslav Tykhiy2004-07-271-1/+1
| | | | | | | | | in the previous commit. Pointed out by: ru Notes: svn path=/head/; revision=132690
* Improve geom(8)'s 'list' command to show geoms and their providers andPawel Jakub Dawidek2004-07-264-50/+75
| | | | | | | consumers. Teach STRIPE, CONCAT and NOP classes about this improvement. Notes: svn path=/head/; revision=132665
* Change naming scheme from /dev/<name>.stripe to /dev/stripe/<name>.Pawel Jakub Dawidek2004-07-261-2/+2
| | | | Notes: svn path=/head/; revision=132664
* Change naming scheme from /dev/<name>.concat to /dev/concat/<name>.Pawel Jakub Dawidek2004-07-261-2/+2
| | | | Notes: svn path=/head/; revision=132663
* Assign the result of getopt() to an int rather than to a char (which isStefan Farfeleder2004-07-261-1/+1
| | | | | | | possibly unsigned). Notes: svn path=/head/; revision=132660
* Add two knobs to ifconfig(8), `vlanmtu' and `vlanhwtag',Yaroslav Tykhiy2004-07-262-0/+17
| | | | | | | | | that provide control over the respective capabilities of an interface, reception of extended frames and hardware VLAN multiplexor. Notes: svn path=/head/; revision=132658
* re-enabled Rev 1.15 (lost during KAME merge at Rev 1.25, due to a KAME bug...)SUZUKI Shinsuke2004-07-261-1/+1
| | | | | | | Obtained from: KAME Notes: svn path=/head/; revision=132656
* Give better diagnostic for problems with backing files.Poul-Henning Kamp2004-07-251-0/+4
| | | | Notes: svn path=/head/; revision=132629
* Fix potential buffer overflow.Lukas Ertl2004-07-241-2/+2
| | | | | | | | PR: bin/14697 Submitted by: Matthew <kienow@infinet.com> Notes: svn path=/head/; revision=132608
* Add references to pf(4) and pfctl(8) at the description ofGiorgos Keramidas2004-07-221-2/+7
| | | | | | | | | | securelevel = 3. PR: docs/69417 Submitted by: Janos Mohacsi (mohacsi(at)niif(dot)hu) Notes: svn path=/head/; revision=132539
* Extend versrcreach by checking against the rt_flags for RTF_REJECT andAndre Oppermann2004-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> Notes: svn path=/head/; revision=132510
* The media info is printed with the -hardware option so there is noHartmut Brandt2004-07-211-1/+1
| | | | | | | point to write 'Media' in the table header for the -atm option. Notes: svn path=/head/; revision=132502
* 'atmconfig natm show' shows all currently configured PVCs for IP over ATM,Hartmut Brandt2004-07-211-1/+1
| | | | | | | not 'atmconfig natm list'. Notes: svn path=/head/; revision=132495
* Add special lines for 'help commands'.Hartmut Brandt2004-07-211-4/+7
| | | | Notes: svn path=/head/; revision=132494
* Allow more than one help file. There is a restriction thatHartmut Brandt2004-07-211-74/+289
| | | | | | | each help file must start with a level 0 topic. Notes: svn path=/head/; revision=132493
* Allow the help file path and name to be overwritten by cc -D...Hartmut Brandt2004-07-212-1/+9
| | | | | | | | Also remove the current directory from the default help file path and add an appropriate directory in /usr/local instead. Notes: svn path=/head/; revision=132492
* The natm sub-command was missing in the TOC of the helpfile.Hartmut Brandt2004-07-201-0/+1
| | | | Notes: svn path=/head/; revision=132463
* MFp4: Add two options for gnop(8)'s 'create' command:Pawel Jakub Dawidek2004-07-192-1/+11
| | | | | | | | -o offset - specifies where to start on the original provider -s size - specifies size of the transparent provider Notes: svn path=/head/; revision=132381
* Clarify boot.8 (i386 version) a bit, so that people knowMike Silbersack2004-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. Notes: svn path=/head/; revision=132367
* `off' is a keyword, not a parameter name.Maxim Konovalov2004-07-181-1/+1
| | | | | | | Obtained from: DragonFly Notes: svn path=/head/; revision=132348
* MFp4: Add 'dump' command to gconcat(8), glabel(8) and gstripe(8) which allowPawel Jakub Dawidek2004-07-186-3/+181
| | | | | | | to dump metadata from given components. Notes: svn path=/head/; revision=132344
* Mention the vfs.usermount sysctl.Christian Brueffer2004-07-181-0/+4
| | | | | | | | Obtained from: NetBSD via DragonFly BSD MFC after: 3 days Notes: svn path=/head/; revision=132326
* Add a reference to glabel(8).Pawel Jakub Dawidek2004-07-141-0/+1
| | | | Notes: svn path=/head/; revision=132153
* Give kldunload a -f(orce) argument.Poul-Henning Kamp2004-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. Notes: svn path=/head/; revision=132117
* Document sysctl variables.Pawel Jakub Dawidek2004-07-133-0/+52
| | | | | | | Based on: simon's patch Notes: svn path=/head/; revision=132100
* Those sysctl are used to control GEOM class, not a userland utility.Pawel Jakub Dawidek2004-07-131-4/+6
| | | | | | | Reviewed by: simon Notes: svn path=/head/; revision=132099
* Document sysctls variables used by GEOM_STRIPE class.Pawel Jakub Dawidek2004-07-131-0/+37
| | | | | | | Submitted by: simon Notes: svn path=/head/; revision=132096
* Decrease default stripe size to 4k, as we have "FAST" mode turned on byPawel Jakub Dawidek2004-07-092-2/+2
| | | | | | | default. Notes: svn path=/head/; revision=131879
* Remove support for gemdos, John removed it from the driver awhile ago.Tom Rhodes2004-07-081-8/+0
| | | | | | | Glanced at by: jhb Notes: svn path=/head/; revision=131835
* Slight markup and grammar fixes.Ruslan Ermilov2004-07-075-20/+23
| | | | Notes: svn path=/head/; revision=131763
* mdoc(7) fixes.Ruslan Ermilov2004-07-072-2/+4
| | | | Notes: svn path=/head/; revision=131754
* Removed redundant and unsafe BINDIR redefinition.Ruslan Ermilov2004-07-071-1/+0
| | | | Notes: svn path=/head/; revision=131747
* Fix copy&paste bug.Pawel Jakub Dawidek2004-07-061-1/+1
| | | | Notes: svn path=/head/; revision=131721
* Parenthesised string literals are invalid in initialisers for character arrays.Stefan Farfeleder2004-07-061-1/+1
| | | | | | | Use braces instead. Notes: svn path=/head/; revision=131720
* - Add 'stop' command, which works just like 'destroy' command, but soundsPawel Jakub Dawidek2004-07-056-11/+74
| | | | | | | | | less dangerous. - Update manual pages and extend examples. - Bump versions. Notes: svn path=/head/; revision=131649
* MFp4: gmirror(8) is coming soon, and we need g_metadata_read() there.Pawel Jakub Dawidek2004-07-052-0/+55
| | | | Notes: svn path=/head/; revision=131603
* Give natd multi-instance capabilities.Poul-Henning Kamp2004-07-043-176/+410
| | | | | | | This makes it possible to do load-sharing on two xDSL lines etc. Notes: svn path=/head/; revision=131567
* One more hard sentence break.Ruslan Ermilov2004-07-031-1/+2
| | | | Notes: svn path=/head/; revision=131541
* Grammar nits.Pawel Jakub Dawidek2004-07-031-4/+4
| | | | | | | Submitted by: David Magda <dmagda@ee.ryerson.ca> Notes: svn path=/head/; revision=131520
* Deal with double whitespace.Ruslan Ermilov2004-07-034-10/+16
| | | | Notes: svn path=/head/; revision=131506
* Mechanically kill hard sentence breaks.Ruslan Ermilov2004-07-0237-585/+1148
| | | | Notes: svn path=/head/; revision=131488
* Introduce GEOM_LABEL class.Pawel Jakub Dawidek2004-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! Notes: svn path=/head/; revision=131476
* Bump up the date and add spaces around commas. Thanks to ru@ for noticing.Arun Sharma2004-07-021-2/+2
| | | | Notes: svn path=/head/; revision=131471
* Deal with harmful leading whitespace.Ruslan Ermilov2004-07-021-1/+1
| | | | Notes: svn path=/head/; revision=131470
* Added the ability to create and display Linux/Windows GPT partitions to gpt(8).Arun Sharma2004-07-013-3/+10
| | | | Notes: svn path=/head/; revision=131425
* Create a unix domain socket and write to it all the events that comeWarner Losh2004-07-012-14/+91
| | | | | | | in over the socket. Notes: svn path=/head/; revision=131397
* o Fix semantics of comparison function for qsort(3). According to qsort(3)Maxim Sobolev2004-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 Notes: svn path=/head/; revision=131101
* fix handling of an unknown progeam nameOliver Eikemeier2004-06-221-1/+1
| | | | | | | | Noticed by: Joshua Goodall <joshua@roughtrade.net> Approved by: ru Notes: svn path=/head/; revision=130918
* Print mediasize in human readable form as well.Pawel Jakub Dawidek2004-06-213-5/+10
| | | | Notes: svn path=/head/; revision=130837