summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Put WARNS into the right place.ru2001-10-251-1/+1
|
* Style and WARNS cleanups.jlemon2001-10-253-65/+65
| | | | Submitted by: ru
* The directory of the makefile that's including the file is tried first.ru2001-10-254-4/+4
| | | | See section 3.2 of "PMake - A Tutorial" in /usr/share/doc/psd/12.make.
* Sort SUBDIR.ru2001-10-251-1/+1
|
* Mdoc fixes and clarification.jlemon2001-10-251-20/+29
| | | | Submitted by: sheldonh
* Add a manual page.jlemon2001-10-232-1/+87
|
* Hook up conscontrol to the build.jlemon2001-10-231-0/+1
|
* Add conscontrol, a front end interface for manipulating consoles.jlemon2001-10-232-0/+157
|
* Connect cxconfig(8) to build.ru2001-10-231-2/+2
| | | | PR: 30447
* WARNSify.ru2001-10-234-50/+94
|
* include ipfs in subdirsdarrenr2001-10-201-0/+1
| | | | PR: 27063
* build ipfs for -currentdarrenr2001-10-201-0/+14
| | | | PR: 27063
* Fix diskless clients by removing the code for calculating the minimumroberto2001-10-181-13/+1
| | | | | | | value for cpg. The change was bogus. Submitted by: bde MFC after: 2 days
* When specifying an interface to ifconfig, first look up the interfacejlemon2001-10-171-25/+11
| | | | | | | | index, then retrieve statistics for that index, rather than retrieving all interfaces and then looking for a matching name. This allows the user to refer to an interface via an alias name. While I'm here, also perform a few assorted cleanups.
* Bring in latest CSRG revisions to this file.ru2001-10-171-11/+11
|
* When nfsd was started with only UDP servers, the master nfsd wouldiedowse2001-10-161-76/+106
| | | | | | | | | | | | | | | | | spin in a loop eating CPU time. This bug has existed since the TI-RPC import. The problem is that we should only enter the select loop if at least one TCP server was started. Fix this by having the master nfsd become a UDP server itself if there are no TCP servers. Also improve/correct the code for cleaning up slave nfsd processes and unregistering with rpcbind when the master nfsd exits. One issue that remains open is that if a slave nfsd dies, then all nfsds will shut down. This is because nfssvc() in the master nfsd returns 0 when the master nfsd receives a SIGCHLD. Submitted by: tmm
* Fixed spelling error in previous commit.bde2001-10-162-2/+2
|
* Document the optimal block:fragment ratio, per discussiondougb2001-10-151-0/+3
| | | | | | on -arch and cvs-all. Reviewed by: dillon
* Allow reboot during runcom.des2001-10-151-0/+3
| | | | | | PR: bin/28116 Submitted by: Valentin Nechayev <netch@netch.kiev.ua> MFC in: 1 week
* Add 0xEE (EFI GPT) and 0xEF (EFI System Partition)peter2001-10-152-0/+4
|
* Reinstate VINUMDEBUG. Removing it also removes some diagnostic commands.grog2001-10-152-2/+1
| | | | I should reconsider whether I just leave them in without #ifdef VINUMDEBUG.
* Repair typo.dd2001-10-141-1/+1
| | | | | PR: 31262 Submitted by: <swear@blarg.net>
* Oops, fix a missing condition that broke umount's `-h' option. Iiedowse2001-10-131-1/+2
| | | | | had somehow removed an error check in revision 1.26, causing errx() to be called unconditionally in the -h case.
* -r is implied with -B.ru2001-10-102-4/+2
|
* Update to reflect the change in ata.hsos2001-10-071-1/+1
| | | | Forgotten by: sos
* Remove some bogus "(off_t)(dumplo + value)" and "(off_t)dumplo" casts,peter2001-10-051-16/+18
| | | | | since dumplo is now an off_t. Scratch a couple of other itches as well. s/L_SET/SEEK_SET/
* Argh. Fix another >2GB savecore problem.peter2001-10-051-1/+1
| | | | Reported by: mki@mozone.net
* Hopefully improve control message passing over Unix domain sockets.dwmalone2001-10-041-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1) Allow the sending of more than one control message at a time over a unix domain socket. This should cover the PR 29499. 2) This requires that unp_{ex,in}ternalize and unp_scan understand mbufs with more than one control message at a time. 3) Internalize and externalize used to work on the mbuf in-place. This made life quite complicated and the code for sizeof(int) < sizeof(file *) could end up doing the wrong thing. The patch always create a new mbuf/cluster now. This resulted in the change of the prototype for the domain externalise function. 4) You can now send SCM_TIMESTAMP messages. 5) Always use CMSG_DATA(cm) to determine the start where the data in unp_{ex,in}ternalize. It was using ((struct cmsghdr *)cm + 1) in some places, which gives the wrong alignment on the alpha. (NetBSD made this fix some time ago). This results in an ABI change for discriptor passing and creds passing on the alpha. (Probably on the IA64 and Spare ports too). 6) Fix userland programs to use CMSG_* macros too. 7) Be more careful about freeing mbufs containing (file *)s. This is made possible by the prototype change of externalise. PR: 29499 MFC after: 6 weeks
* <mntopts.h> -> "mntopts.h" in SYNOPSIS.ru2001-10-041-1/+1
| | | | Submitted by: bde
* Following the discussion in -arch and the submission of a patch by bde, hereroberto2001-10-042-11/+20
| | | | | | | it is. I added the manpage change. Submitted by: bde MFC after: 1 week
* Documentation fixes:cjc2001-10-022-10/+12
| | | | | | | - The '-d' option was not documented on the manpage or in the usage message. - The '-N' option was not included in the usage.
* mdoc(7) police: Use the new .In macro for #include statements.ru2001-10-013-3/+3
|
* mdoc(7) police: fix markup.ru2001-10-011-56/+27
|
* *** empty log message ***obrien2001-10-011-3/+4
|
* Enable bug-for-bug compatibility with mount_mfs when the programiedowse2001-09-302-5/+7
| | | | | | | | | | name is "mount_mfs" or "mfs". Previously, the condition was that the program name must start with "mount_", but this both missed the case where mount(8) invokes mdmfs with argv[0] = "mfs", and it included cases such as "mount_md" where compatibility is not required. Reviewed by: dd
* Don't require that the special/filesystem argument translates intoiedowse2001-09-301-5/+4
| | | | | | | | | | | a block or character device; the rest of tunefs works just fine on filesystem images in regular files. Instead, if getfsfile() failed and if the specified filesystem is a directory then print a more useful "unknown file system" error. Also, _PATH_DEV already contains a trailing slash, so don't add another one when constructing a device path, and use errx() instead of err() in a case where errno is meangingless.
* now that jlemon has added a hash table to lookup locally configured ipbillf2001-09-291-3/+2
| | | | | | | | addresses (and the macros that ipfw(4) use to lookup data for the 'me' keyword have been converted) remove a comment about using 'me' being a "computationally expensive" operation. while I'm here, change two instances of "IP number" to "IP address"
* Two main changes here:luigi2001-09-272-36/+102
| | | | | | | | | | | | | | | + implement "limit" rules, which permit to limit the number of sessions between certain host pairs (according to masks). These are a special type of stateful rules, which might be of interest in some cases. See the ipfw manpage for details. + merge the list pointers and ipfw rule descriptors in the kernel, so the code is smaller, faster and more readable. This patch basically consists in replacing "foo->rule->bar" with "rule->bar" all over the place. I have been willing to do this for ages! MFC after: 1 week
* The -A option (beep when packets are dropped) didn't work quiteiedowse2001-09-252-5/+12
| | | | | | | | | | | | | right; after a single packet was dropped it beeped after every transmission. Change its implementation to only output a bell when there is an increase in the maximum value of the number of packets that were sent but not yet received. This has the benefit that even for very long round-trip times, ping -A will do roughly the right thing after a few inital false-positives. Reviewed by: ru
* o Reduce userland inclusion of kernel headers -- remove unneeded includerwatson2001-09-241-1/+0
| | | | | | of <sys/mbuf.h>. Reviewed by: jlemon
* A bunch of minor changes to the code (see below) for readability, code sizeluigi2001-09-201-8/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and speed. No new functionality added (yet) apart from a bugfix. MFC will occur in due time and probably in stages. BUGFIX: fix a problem in old code which prevented reallocation of the hash table for dynamic rules (there is a PR on this). OTHER CHANGES: minor changes to the internal struct for static and dynamic rules. Requires rebuild of ipfw binary. Add comments to show how data structures are linked together. (It probably makes no sense to keep the chain pointers separate from actual rule descriptors. They will be hopefully merged soon. keep a (sysctl-readable) counter for the number of static rules, to speed up IP_FW_GET operations initial support for a "grace time" for expired connections, so we can set timeouts for closing connections to much shorter times. merge zero_entry() and resetlog_entry(), they use basically the same code. clean up and reduce replication of code for removing rules, both for readability and code size. introduce a separate lifetime for dynamic UDP rules. fix a problem in old code which prevented reallocation of the hash table for dynamic rules (PR ...) restructure dynamic rule descriptors introduce some local variables to avoid multiple dereferencing of pointer chains (reduces code size and hopefully increases speed).
* Deal with nfs server module changes for autoloading.peter2001-09-201-9/+4
|
* Deal with module name changes and autoloading.peter2001-09-201-15/+8
|
* Non-decimal ``skipto'' rule numbers are meaningless.ru2001-09-191-1/+1
| | | | | Noticed by: "Marc G. Fournier" <scrappy@hub.org> MFC after: 3 days
* Userland part of nfs client/server split and cleanup.peter2001-09-187-430/+25
|
* Split hwcsum into rxcsum and txcsum components.jlemon2001-09-181-3/+5
|
* Teach ifconfig about the new interface capability words.jlemon2001-09-181-1/+43
|
* fix savecore so that it works on the alpha after the size changegallatin2001-09-131-2/+2
| | | | | | | | | | of dumpmag from an int to a u_long in rev 1.41 -- without this change, savecore will always fail like this: #savecore -v /var/crash dumplo = 874356736 (1707728 * 512) savecore: magic number mismatch (8fca0101 != 8fca0101) savecore: no core dump
* Set BINOWN=root explicitly for setuid root binaries.ru2001-09-133-0/+3
| | | | | | This is not "useless", as one may have non-default setting for BINOWN in make.conf, and we still want these to be installed setuid root in this case.
* Use ${MACHINE}, it works with cross-builds.ru2001-09-121-4/+2
|
OpenPOWER on IntegriCloud