summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Workaround the problem that the first (and only first) port nameru1999-06-111-9/+26
| | | | | | | | | | | can't have a dash character (it is treated as a ``range'' operator). One could now use such a name by escaping the ``-'' characters. For example: # ipfw add 1 count tcp from any to any "ms\-sql\-s" # ipfw add 2 count tcp from any ftp\\-data-ftp to any PR: 7101
* For vendor-specific commands sent using the 'camcontrol cmd' facility,ken1999-06-101-4/+4
| | | | | | use the passed in CDB length, not 1. Submitted by: Jean-Marc Zucconi <jmz@FreeBSD.ORG>
* Introduce IFF_SMART bit.phk1999-06-061-2/+2
| | | | | | | | This means that the driver will add/delete routes when it knows it is up/down, rather than have the generic code belive it is up if configured. This is probably most useful for serial lines, although many PHY chips could probably tell us if we're connected to the cable/hub as well.
* sprintf -> snprintfkris1999-06-061-2/+3
| | | | Obtained from: OpenBSD
* When incrementing through a SIOCGIFCONF list, enforce a lower limit ofarchie1999-06-052-3/+6
| | | | | | | | | sizeof(ifr->ifr_addr) for the variable length field ifr->ifr_addr.sa_len. Otherwise the increment will be wrong in certain cases. Obtained from: Whistle source tree For the record: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> suggests SIOCGIFCONF should be dropped in favor of a sysctl mechanism.
* Fix the parsing of ip addresses on a command line.ru1999-06-041-7/+7
| | | | | | PR: 5047 Reviewed by: des Test case: ipfw add allow ip from 127.1 to any
* Spelling corrections for dummynet.ru1999-06-021-4/+5
| | | | Reviewed by: des,luigi
* Get rid of segfaults in a set-uid program.ru1999-06-011-8/+15
| | | | | PR: 11823 Reviewed by: des
* $Header$ -> $Id$kris1999-05-293-58/+70
| | | | | | | | Manpage formatting/grammatical fixes. Check return value of malloc() Add sccsid[], other minor source code cleanups Submitted by: Philippe Charnier
* Xref mountd in text.kris1999-05-291-2/+3
| | | | Submitted by: Philippe Charnier
* Manpage cleanup, move $Id$ to #ifndef lint, remove unused includes,kris1999-05-292-25/+27
| | | | | | grammatical fixes. Submitted by: Philippe Charnier
* Add the missing cd9660-specific options to the -o flag. While I'm here,ghelmer1999-05-281-1/+16
| | | | | | add the missing -j flag to the synopsys. PR: docs/1667
* close pr 10889:luigi1999-05-241-13/+27
| | | | | | | | | | | | + add a missing call to dn_rule_delete() when flushing firewall rules, thus preventing possible panics due to dangling pointers (this was already done for single rule deletes). + improve "usage" output in ipfw(8) + add a few checks to ipfw pipe parameters and make it a bit more tolerant of common mistakes (such as specifying kbit instead of Kbit) PR: kern/10889 Submitted by: Ruslan Ermilov
* Fix typo in dump reportingjmz1999-05-241-3/+4
| | | | | PR: bin/10573 Submitted by: Christian Weisgerber <naddy@mips.rhein-neckar.de>
* Getopt(3) returns -1 not EOF.imp1999-05-232-6/+6
|
* Include a table of disk error codes and a note about the cylinder >rnordier1999-05-221-1/+39
| | | | 1023 issue.
* Fix a typo, and get rid of the bugs section that talks about addingken1999-05-191-5/+2
| | | | different ways to specify devices. That code has been added.
* Use current names for swap devices.jkoshy1999-05-171-3/+3
| | | | | PR: docs/11708 Submitted by: Matthew D. Fuller <fullermd@over-yonder.net>
* Refer to current names for swap partitions in the `FILES' section.jkoshy1999-05-171-3/+3
| | | | | PR: docs/11709 Submitted by: Matthew D. Fuller <fullermd@over-yonder.net>
* Oops - missing parenthesisbrian1999-05-131-2/+2
|
* /sbin/natd portrange documentation and bugfixbrian1999-05-132-8/+20
| | | | | | | Submitted by: Ruslan Ermilov <ru@ucb.crimea.ua> PR: 11690 3.2 candidate ?
* Read dumpdev using sysctl(3) interface. Now savecore should work againluoqi1999-05-131-16/+22
| | | | after the dev_t changes.
* Add a new device specification syntax to camcontrol. It is now possible token1999-05-105-91/+204
| | | | | | | | | | | | | | | | | | | | | | | | do things like: camcontrol tur da5 or camcontrol tur 1:2:0 or camcontrol tur 1:2 These changes are fully backwards compatible with the original device specification syntax (-n dev -u unit), so it is possible to use either method to specify a device now. The device specification changes do not affect the rescan, reset or debug commands, since by design, those commands work on a bus or bus:target:lun basis only. Also, shorten the default usage statement so that it fits in a 24 column terminal. The full usage statement is still available by using the "help" "-h" or "-?" arguments to camcontrol. Submitted by: Joerg Wunsch <joerg_wunsch@interface-business.de>
* Move sysctl/ to src/sbin/ where it now belongs.obrien1999-05-102-5/+3
| | | | Repository copied by: Peter
* Fix mknod which overloaded a little too much on "minor" and "major"phk1999-05-101-6/+6
|
* Silence message about absence of PnP overrides.abial1999-05-091-4/+5
|
* Make flood ping flood again. It hasn't worked since 2.2.6. Make the "-l"mckay1999-05-071-4/+6
| | | | | | option work as described in the manual, not as another flood ping variant. Once discussed to death with: bde
* Arrange the "CONFIGURATION FILE" section in the order in which thegrog1999-05-071-24/+45
| | | | | | | | | | | | entries go into the config file. Clarify what names can be used for Vinum drives, and what will happen to you if you use other names. Forcibly-demonstrated-by: Thomas Stromberg <tstromberg@rtci.com> Peter K Campbell <PCampbel@vtrlmel1.telstra.com.au> George Cox <george.cox@sophos.com> many others, but those were the only three today.
* Null commit.jkoshy1999-05-074-4/+4
| | | | | | | > PR: bin/6399 > Submitted by: David Malone <dwmalone@maths.tcd.ie> Also reviewed by: bde
* 1. Enhanced syntax for mount(8). The -o option now supports two 'meta'jkoshy1999-05-074-78/+310
| | | | | | | | | | | | | | | | | | | | | | | | | | options: -o fstab brings in filesystem options specified in /etc/fstab -o current incorporates the current set of options for the file system The rightmost option wins in the case of conflicting options being specified. E.g.:- # mount -u -o current,nosuid /home will preserve the current mount options while adding the 'nosuid' flag. 2. Rewording of manual page to be hopefully clearer; small -Wall cleanups. Thanks to David Malone for his patience and willingness to work multiple patches on request. PR: bin/6399 Submitted by: David Malone <dwmalone@maths.tcd.ie>
* Add a number of interrelated CAM feature enhancements and bug fixes.ken1999-05-062-50/+1061
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | NOTE: These changes will require recompilation of any userland applications, like cdrecord, xmcd, etc., that use the CAM passthrough interface. A make world is recommended. camcontrol.[c8]: - We now support two new commands, "tags" and "negotiate". - The tags commands allows users to view the number of tagged openings for a device as well as a number of other related parameters, and it allows users to set tagged openings for a device. - The negotiate command allows users to enable and disable disconnection and tagged queueing, set sync rates, offsets and bus width. Note that not all of those features are available for all controllers. Only the adv, ahc, and ncr drivers fully support all of the features at this point. Some cards do not allow the setting of sync rates, offsets and the like, and some of the drivers don't have any facilities to do so. Some drivers, like the adw driver, only support enabling or disabling sync negotiation, but do not support setting sync rates. - new description in the camcontrol man page of how to format a disk - cleanup of the camcontrol inquiry command - add support in the 'devlist' command for skipping unconfigured devices if -v was not specified on the command line. - make use of the new base_transfer_speed in the path inquiry CCB. - fix CCB bzero cases cam_xpt.c, cam_sim.[ch], cam_ccb.h: - new flags on many CCB function codes to designate whether they're non-immediate, use a user-supplied CCB, and can only be passed from userland programs via the xpt device. Use these flags in the transport layer and pass driver to categorize CCBs. - new flag in the transport layer device matching code for device nodes that indicates whether a device is unconfigured - bump the CAM version from 0x10 to 0x11 - Change the CAM ioctls to use the version as their group code, so we can force users to recompile code even when the CCB size doesn't change. - add + fill in a new value in the path inquiry CCB, base_transfer_speed. Remove a corresponding field from the cam_sim structure, and add code to every SIM to set this field to the proper value. - Fix the set transfer settings code in the transport layer. scsi_cd.c: - make some variables volatile instead of just casting them in various places - fix a race condition in the changer code - attach unless we get a "logical unit not supported" error. This should fix all of the cases where people have devices that return weird errors when they don't have media in the drive. scsi_da.c: - attach unless we get a "logical unit not supported" error scsi_pass.c: - for immediate CCBs, just malloc a CCB to send the user request in. This gets rid of the 'held' count problem in camcontrol tags. scsi_pass.h: - change the CAM ioctls to use the CAM version as their group code. adv driver: - Allow changing the sync rate and offset separately. adw driver - Allow changing the sync rate and offset separately. aha driver: - Don't return CAM_REQ_CMP for SET_TRAN_SETTINGS CCBs. ahc driver: - Allow setting offset and sync rate separately bt driver: - Don't return CAM_REQ_CMP for SET_TRAN_SETTINGS CCBs. NCR driver: - Fix the ultra/ultra 2 negotiation bug - allow setting both the sync rate and offset separately Other HBA drivers: - Put code in to set the base_transfer_speed field for XPT_GET_TRAN_SETTINGS CCBs. Reviewed by: gibbs, mjacob (isp), imp (aha)
* don't use <sys/disk.h>phk1999-05-061-2/+1
|
* Fix typos and -mdoc usage.jkoshy1999-05-061-4/+6
| | | | | PR: docs/11537 Submitted by: Motomichi Matsuzaki <mzaki@e-mail.ne.jp>
* Incomplete. Back out until I can revisit.markm1999-05-051-11/+17
|
* Restore perror --> err changes.markm1999-05-051-17/+11
|
* Mention the special destination "default" for default routes. Fix aghelmer1999-05-041-4/+15
| | | | | | couple of formatting bugs. PR: docs/9960
* Fix typos.jkoshy1999-05-041-9/+15
| | | | | PR: docs/11485 Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>
* temporary workaround for bin/11464mjacob1999-05-031-1/+5
|
* timestamp:grog1999-05-021-1/+3
| | | | | | Assign explicit variable for sec to get it to compile on Alpha. Submitted by: dfr
* Merge-o-matic and add a bunch of $Id'smarkm1999-05-0217-1350/+1943
|
* Update documentation of new functions.grog1999-05-021-10/+63
| | | | | | | | Describe new scale letter for sizes: 's' (sector) instead of 'b' (block). Both mean 512 bytes, but 'b' is deprecated because it's confusing. Document log file and environment variables.
* Add definitions for history functions and printconfig split.grog1999-05-021-0/+8
|
* printconfig:grog1999-05-021-16/+41
| | | | | | split into vinum_printconfig (interactive) and printconfig (called from vinum_printconfig and from vinum_create when starting an interactive update.
* vinum_create:grog1999-05-021-57/+97
| | | | | | | | | | If no file name is specified, create one and edit it with the editor specified in the EDITOR environment variable, by default vi. vinum_help: Update. Fix typos in messages.
* Maintain a log file, by default /var/log/vinum.history, showing whatgrog1999-05-021-0/+54
| | | | | | | | has been done. This name can be overridden by the value of the VINUM_HISTORY environment variable. Print dates in log file according to the variable VINUM_DATEFORMAT, by default %e %b %Y %H:%M:%S.
* Fixes for -t option:kris1999-05-011-3/+4
| | | | | | | | | | * Don't buffer "Digesting..." output - flush it immediately. * Increase the number of repetitions by a factor of 100, and the block size by a factor of 10 so as to give meaningful results on modern machines (108 seconds on my P120, and ~26 seconds on a P-II 350). PR: bin/10604 Submitted by: Stanislav Shalunov <shalunov@lynxhub.lz.att.com>
* Add ICMP types to list of information about each packet.ghelmer1999-04-291-2/+33
|
* Explain when packets are tesed by the firewall rules and what attributesghelmer1999-04-281-23/+128
| | | | | | of packets can be tested. PR: docs/7437
* More egcs warning fixes:imp1999-04-253-9/+10
| | | | | | | | | | | o main returns int not void o use braces to avoid potentially ambiguous else Note: The fix to natd is potentially functional in nature since I used the indentation as the right thing rather than the struct semantics. Someone more familiar with the code should double check me on this one. Reviewed by: obrien and chuckr
* The infrastructure to build these fellows has been replaced with kld.peter1999-04-248-816/+0
|
OpenPOWER on IntegriCloud