summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Fix a "this sentence no verb" grammar bogon.schweikh2001-06-081-1/+1
| | | | MFC after: 1 week
* When changing an indirect route, kernel routing code allocatesru2001-06-082-2/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | a route to the gateway and caches it in the route structure. It may happen (if the routing table is screwed) that the gateway route is the same route as the one being modified, in which case a kernel reports EDQUOT. Be more verbose about this: # route add -net 10 192.168.4.65 add net 10: gateway 192.168.4.65 # netstat -rn -finet Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 192.168.4.65 UGSc 1 7 rl0 10 192.168.4.65 UGSc 0 0 rl0 127.0.0.1 127.0.0.1 UH 0 178 lo0 192.168.4 link#1 UC 2 0 rl0 => 192.168.4.65 0:d0:b7:16:9c:c6 UHLW 2 0 rl0 1123 Before: # route change -net 10 10.0.0.1 route: writing to routing socket: Disc quota exceeded change net 10: gateway 10.0.0.1: Disc quota exceeded After: # ./route change -net 10 10.0.0.1 route: writing to routing socket: Disc quota exceeded change net 10: gateway 10.0.0.1: gateway uses the same route PR: bin/1093, misc/26833
* Change the host/bits syntax introduced in route.c,v 1.24 to theru2001-06-082-9/+8
| | | | | | | net/bits syntax, for consistency with netstat(1) in particular. OK'ed by: phk MFC after: 1 week
* Remove xref to blackhole(4). sysctl has nothing to do withdd2001-06-081-1/+0
| | | | | | | | | | blackhole(4), except that blackhole(4) uses sysctl's. This xref obviously isn't appropriate unless we want to xref all the other man pages which mention sysctls, which we obviously don't (we may want to list those sysctls, but that's another story). PR: 27937 Submitted by: yar
* 'int dumpsize; /* memory size in bytes */' is not good for machinespeter2001-06-081-3/+5
| | | | with 2GB or more of ram.
* cleanup to get rid of most warnings on alphatomsoft2001-06-073-134/+152
| | | | | | | and yes now it also works on alpha Reviewed by: chm MFC after: 3 weeks
* Correct cross-reference:sobomax2001-06-072-2/+2
| | | | | | portmap.8 --> rpcbind.8 Submitted by: .Xr testing script
* - Exit 1 if "add", "change", or "delete" operation fails.ru2001-06-072-10/+12
| | | | | | | | | | | | PR: bin/12489 - Use inet_ntoa(3) where it should have been used. This part of code simply wasn't converted to the "new" style after the routename() function was converted from the protocol-generic version to protocol-specific version in CSRG revision 5.6. MFC after: 1 week
* Mention Alexandre Peixoto's share/examples/ipfw/change_rules.sh in thechris2001-06-061-0/+3
| | | | | | checklist. MFC after: 1 week
* Fix a byteorder problem in a diagnostic message.phk2001-06-061-1/+2
| | | | | PR: 16625 Submitted by: Peter Jeremy <peter.jeremy@ALCATEL.COM.AU>
* fix a bug of a only partitally initialization which could resulttomsoft2001-06-051-1/+2
| | | | | | | in an unclean filesystem after growing by a large amount of cylinder groups Reviewed by: chm
* Invert the meaning of the -d option (i.e. default to *not* list dynamic rules,des2001-06-042-1119/+1160
| | | | | | | | | | | | | | | but list them if -d was specified). Avoid listing expired dynamic rules unless the (new) -e option was specified. If specific rule numbers were listed on the command line, and the -d flag was specified, only list dynamic rules that match the specified rule numbers. Try to partly clean up the bleeding mess this file has become. If there is any justice in this world, the responsible parties (you know who you are!) should expect to wake up one morning with a horse's head in their bed. The code still looks like spaghetti, but at least now it's *properly intented* spaghetti (hmm? did somebody say "tagliatelle"?).
* ARP works on networks other than Ethernet.dd2001-06-021-2/+5
| | | | | | PR: 22062 Submitted by: Christian Weisgerber <naddy@mips.inka.de>, Brooks Davis <brooks@one-eyed-alien.net>
* Mention the 'ether' parameter.dd2001-06-021-0/+4
| | | | | | PR: 23767 Submitted by: Maxime Henrion <mux@qualys.com>, Brooks Davis <brooks@one-eyed-alien.net>
* - VFS_SET(msdos) -> VFS_SET(msdosfs)ru2001-06-0113-709/+20
| | | | | | - msdos.ko -> msdosfs.ko - mount_msdos(8) -> mount_msdosfs(8) - "msdos" -> "msdosfs" compatibility glue in mount(8)
* Remove vestiges of MFS.ru2001-06-013-8/+6
|
* Remove unused variable (descr) in show_var().dd2001-06-011-1/+1
| | | | | PR: 22582 Submitted by: Giorgos Keramidas <charon@gray.westgate.gr>
* Don't link ${BINDIR}/newfs to nowhere.bde2001-05-301-3/+1
| | | | | Don't clutter this Makefile (not to mention the error output) with $(BDECFLAGS}.
* Remove -DMFS from CFLAGS.dd2001-05-291-1/+1
|
* Remove all references to MFS.dd2001-05-291-92/+2
|
* Ignore the new superblock fields fs_pendingblocks and fs_pendinginodesiedowse2001-05-291-0/+2
| | | | | | | when comparing with the alternate superblock. These fields are used for temporary in-core information only. This should fix the "VALUES IN SUPER BLOCK DISAGREE WITH THOSE IN FIRST ALTERNATE" error from fsck_ffs that has been seen a lot recently.
* Remove MFSphk2001-05-291-4/+1
|
* A more complete removal of MFS related code.phk2001-05-293-312/+59
| | | | XXX: This program badly needs a style(9) + BDECFLAGS treatment.
* Initial cleanout of MFS from newfs. More complete wash needed.phk2001-05-292-6/+3
|
* Since the netexport struct was centralised to 'struct mount',iedowse2001-05-291-3/+4
| | | | | | | | | | | | | attempting to remove nonexistant exports with MNT_DELEXPORT returns an error; before this change it always succeeded. This caused mountd(8) to log "can't delete exports for /whatever" warnings. Change the error code from EINVAL to a more specific ENOENT, and make mountd ignore this error when deleting the export list. I could have just restored the previous behaviour of returning success, but I think an error return is a useful diagnostic. Reviewed by: phk
* When using interfaces that support if_media, the supported media list isphk2001-05-294-28/+136
| | | | | | | | | printed on a single, very long, and generally unreadable line. This isn't very useful. It's also really ugly and most of the time you don't care what media is supported anyway. PR: 27701 Submitted by: Brooks Davis <brooks@one-eyed-alien.net>
* Update the document date after DES's updates, move the description ofdd2001-05-291-6/+6
| | | | | the -b option below -a to maintain alphabetical order, and add a missing ".It" before "Fl o".
* Use new backup feature of install(1).ru2001-05-281-7/+1
|
* Perform random drive-by style cleanups, and rewrite a while loop thatdes2001-05-281-17/+18
| | | | offended my artistic sensibilities.
* Try to make sysctl options slightly more orthogonal:des2001-05-282-63/+70
| | | | | | | | | | | | | | - introduce a -o option that displays opaque variables. - introduce a -x option that displays opaque variables in full. - deprecate -A in favor of -ao and -X in favor of -ax. - remove -A and -X from usage() and SYNOPSIS (but not from DESCRIPTION). - ignore -a if one or more variables were listed on the command line. - deprecate -w, it is not needed to determine the user's intentions. - some language and style cleanup in the man page. This commit should not break any existing scripts. MFC after: 4 weeks
* - sys/n[tw]fs moved to sys/fs/n[tw]fsru2001-05-263-3/+3
| | | | - /usr/include/n[tw]fs moved to /usr/include/fs/n[tw]fs
* Forgot to cvs add these two files for the previous commit.phk2001-05-261-0/+520
|
* Currently, each wireless networking driver has it's own control programphk2001-05-265-3/+182
| | | | | | | | | | | | despite the fact that most people want to set exactly the same settings regardless of which card they have. It has been repeatidly suggested that this configuration should be done via ifconfig. This patch implements the required functionality in ifconfig and add support to the wi and an drivers. It also provides partial, untested support for the awi driver. PR: 25577 Submitted by: Brooks Davis <brooks@one-eyed-alien.net>
* - sys/msdosfs moved to sys/fs/msdosfsru2001-05-253-3/+3
| | | | | - msdos.ko renamed to msdosfs.ko - /usr/include/msdosfs moved to /usr/include/fs/msdosfs
* Actually rename FDESC, PORTAL, UMAP and UNION file systems.ru2001-05-243-15/+15
| | | | OK'ed by: bp
* Missed one mount_null(8) -> mount_nullfs(8) in previous commit.ru2001-05-241-1/+1
|
* Remove the "undocumented" comment in re lflag.nik2001-05-241-1/+1
|
* Document the -l option.nik2001-05-241-4/+15
| | | | | PR: docs/27440 Submitted by: Flix-Antoine Paradis <reel@sympatico.ca>
* Add a -A option to ping which beeps when packets are lost.phk2001-05-242-3/+17
| | | | | PR: 11818 Submitted by: Marc Evans marc@destek.net
* *sigh* We can't remove VINUMDEBUG entirely, since we include kernelgrog2001-05-231-3/+2
| | | | | header files and sources which depend on it. For userland, define VINUMDEBUG here. Also remove a now superfluous #ifdef.
* Remove cruft.grog2001-05-231-3/+0
|
* Rename (after a repo-copy) some mount(8) programs:ru2001-05-2341-3170/+57
| | | | | | | | mount_fdesc -> mount_fdescfs mount_null -> mount_nullfs mount_portal -> mount_portalfs mount_umap -> mount_umapfs mount_union -> mount_unionfs
* - FDESC, FIFO, NULL, PORTAL, PROC, UMAP and UNION fileru2001-05-2316-16/+16
| | | | | | | | | | | | | | | systems were repo-copied from sys/miscfs to sys/fs. - Renamed the following file systems and their modules: fdesc -> fdescfs, portal -> portalfs, union -> unionfs. - Renamed corresponding kernel options: FDESC -> FDESCFS, PORTAL -> PORTALFS, UNION -> UNIONFS. - Install header files for the above file systems. - Removed bogus -I${.CURDIR}/../../sys CFLAGS from userland Makefiles.
* Remove -DVINUMDEBUG. vinum(8) now always supports debug options ifgrog2001-05-231-1/+1
| | | | the kernel module is built that way.
* Remove #ifdef VINUMDEBUG. vinum(8) now always supports debug optionsgrog2001-05-231-37/+1
| | | | | | | if the kernel module is built that way. Remove the gross debug device/non-debug device hack used to recognize whether the kernel module was in sync with the userland module.
* vinum_debug: Check for kernel module debug support, print errorgrog2001-05-231-10/+11
| | | | message if not present.
* Remove #ifdef VINUMDEBUG. vinum(8) now always supports debug optionsgrog2001-05-231-175/+175
| | | | | | | if the kernel module is built that way. vinum_info: Check for kernel module debug support, print error message if not present.
* Fix argument processing.ru2001-05-223-91/+47
| | | | | | | Make this compile with WARNS=2. PR: bin/27524 MFC after: 3 days
* Update description of the stripe size created by vinum_stripe,grog2001-05-221-48/+45
| | | | | | | | | | | | | | | | | vinum_mirror, vinum_raid4, vinum_raid5. Correct typos. Show new output of the 'list' and 'ls' commands. Update examples to use 279 kB stripe sizes instead of 256 kB. Clarify some text. Remove the description of the 'invalid ioctl' messages which now no longer occur. Add a description of the 'retryerrors' keyword.
* Major tidy up. Add explicit header files, thus enabling the .c filesgrog2001-05-221-26/+40
| | | | | | | | | | | | | | to avoid including the kernel headers. Move a number of definitions of userland functions from dev/vinum/vinumext.h. Desired by: bde This commit is the first of a general cleanup of the header files.. It won't be enough to make bde happy. Remove vinum_perror and associated DEVBUG definition.
OpenPOWER on IntegriCloud