summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* $Id$ -> $FreeBSD$peter1999-08-28323-349/+349
|
* Update and tidy descriptions of info -V.grog1999-08-261-30/+69
| | | | | Describe use of -w option with start. Tidy up descriptions of scale factor suffixes.
* Add -e option to usage().dwhite1999-08-252-4/+4
|
* Document the setstate command.grog1999-08-241-6/+22
|
* Change declaration for initsd.grog1999-08-241-1/+4
| | | | | Add declarations for vinum_setstate, vinum_checkparity and vinum_rebuildparity.
* parseline(): Reset the -w flag.grog1999-08-241-27/+29
| | | | continue_revive: Implement the -w flag.
* vinum_info(): Add support for logging subdisk I/O.grog1999-08-241-17/+21
|
* Tidy up some indentation and comments.grog1999-08-241-15/+109
| | | | | | | | | | | | | | | | | vinum_init(): Change name of variable plexindex to objindex, which better describes its purpose. initsd(): Add a second parameter to determine whether it should wait for completion or not. This allows it to DTRT when called with the -w flag either directly or via initplex(). Add 'setstate' command (function vinum_setstate ()) to implement the VINUM_SETSTATE_FORCE ioctl for diddling individual object states. This is a repair tool which can also be used for panicing the system. Use with utmost care if at all. Add unimplemented commands 'checkparity' and 'rebuildparity'. Watch this space.
* Add new option to fdisk: -ephk1999-08-234-26/+80
| | | | | | | This wipes the MBR and creates slice 1 as a FreeBSD slice covering the disk starting from the second track to the cylinder aligned end of the disk. This is the most compatibly layout we have as far as I know.
* Don't print a "," after the last superblock.billf1999-08-211-3/+4
| | | | Submitted by: adrian
* To christen the brand new security category for syslog, we get IPFWgreen1999-08-211-5/+8
| | | | | | | | | | | | | | using syslog(3) (log(9)) for its various purposes! This long-awaited change also includes such nice things as: * macros expanding into _two_ comma-delimited arguments! * snprintf! * more snprintf! * linting and criticism by more people than you can shake a stick at! * a slightly more uniform message style than before! and last but not least * no less than 5 rewrites! Reviewed by: committers
* Bad cross-reference of getservbyname(2) changed to getservbyname(3)chris1999-08-181-2/+2
| | | | Reviewed by: ru
* Add reference to blackhole(4)csgr1999-08-171-1/+2
|
* Re-add -Wmissing-prototypes to `COPTS'. I mistook -W for -Wno in this case.chris1999-08-161-1/+1
|
* Fix some bad references.chris1999-08-161-3/+3
|
* -Wmissing-prototypes is unnecessary here. There are no warnings producedchris1999-08-161-2/+2
| | | | with this option disabled.
* Minor mdoc fix.mpp1999-08-151-2/+2
|
* Minor style fix.mpp1999-08-152-4/+4
|
* Various man page cleanup:mpp1999-08-156-24/+29
| | | | | | | | | | | - Sort xrefs - FreeBSD.ORG -> FreeBSD.org - Properly xref RFCs. - Be consistent with section names as outlined in mdoc(7). - Other misc mdoc cleanup. PR: doc/13144 Submitted by: Alexey M. Zelkin <phantom@cris.net>
* initsd: On completion, put the subdisk in 'initialized' status, notgrog1999-08-151-34/+34
| | | | | | | 'up'. This matches changes in the kernel module. Reported-by: Bernd Walter <ticso@cicely.de> Remy Nonnenmacher <remy@synx.com>
* Bad reference getsockname(8) -> getsockname(2)chris1999-08-142-4/+4
|
* Correct typo.grog1999-08-141-1/+0
|
* Add declarations for initvol, initplex and initsd helper functions forgrog1999-08-141-0/+3
| | | | vinum_init.
* vinum_info: add code to print out lock events.grog1999-08-141-7/+32
| | | | modify format of other event printouts.
* make_plex_dev: make them raw. Volume-related plex devices willgrog1999-08-141-9/+19
| | | | probably die a death soon (yes, DES, that's correct usage).
* vinum_init: add code to initialize subdisks as well as plexes. Alsogrog1999-08-141-129/+159
| | | | provide for initializing volumes; this code is not yet complete.
* Whoops, forgot one line in previous patch.luigi1999-08-121-1/+2
|
* Userland and manual page changes for probabilistic rule match.luigi1999-08-112-4/+41
| | | | | | Because the kernel change was done in a backward-compatible way, you don't need to recompile ipfw if you don't want to use the new feature.
* Correct typo.grog1999-08-091-1/+1
| | | | | PR: docs/13050 Reported-by: Dan Langille<junkmale@xtra.co.nz>
* Update to reflect recent changes.grog1999-08-071-55/+46
|
* Remove code to detect RAID-5/non-RAID-5 kernel modules.grog1999-08-071-7/+7
|
* Remove code to detect RAID-5/non-RAID-5 kernel modules.grog1999-08-071-99/+125
| | | | | | | Add function definition for readpol command. Rewrite make_devices with a view to incremental making. In the process, effectively kill off plex-bound subdisk device numbers.
* Import RAID-5 code.grog1999-08-071-30/+120
| | | | | | | | | | | | | | | | | | | | | Add Cybernet copyright. OK'd-by: Chuck Jacobus <chuck@cybernet.com> vinum_ldi: Calculate the percentage used correctly. vinum_lsi: Flag detached subdisks. vinum_info: Request info: get the major and minor numbers and print them correctly. list_defective_objects: New function, for listing objects which aren't up after vinum_start. Requested-by: Steve Taylor <staylor@cybernet.com>
* vinum_init:grog1999-08-071-29/+83
| | | | | | | | | | | | | | | | | | | | | | | wait correctly for completion. set object in initializing state before initializing. Don't set the plex up, it should go up automatically. vinum_start: If any objects are not up on start, list them. Requested-by: Steve Taylor <staylor@cybernet.com> vinum_attach: Make sure we always have the object information before examining it. vinum_replace: Start writing. create_drive, vinum_concat, vinum_stripe, vinum_mirror: Check the ioctl return values correctly vinum_readpol: Start writing.
* Mention that CCD requires partitions of type FS_BSDFFS.jkoshy1999-08-061-1/+7
| | | | | PR: docs/12985 Submitted by: Kiril Mitev <kiril@ideaglobal.com>
* Typo police. 'Acknowledgement' is spelled correctly so it was left untouched.dwhite1999-08-062-4/+4
| | | | | PR: docs/12986 Submitted by: Seth <seth@freebie.dp.ny.frb.org>
* Backup existing init(8) as /sbin/init.bak.ru1999-08-051-3/+9
| | | | | PR: 12976 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
* Typo of sample command line.sada1999-08-011-2/+2
| | | | Submitted by: Seiichi Satomi <ssatomi@rr.iij4u.or.jp>
* Make ipfw's logging more dynamic. Now, log will use the default limitgreen1999-08-012-11/+97
| | | | | | | | | | | | | _or_ you may specify "log logamount number" to set logging specifically the rule. In addition, "ipfw resetlog" has been added, which will reset the logging counters on any/all rule(s). ipfw resetlog does not affect the packet/byte counters (as ipfw reset does), and is the only "set" command that can be run at securelevel >= 3. This should address complaints about not being able to set logging amounts, not being able to restart logging at a high securelevel, and not being able to just reset logging without resetting all of the counters in a rule.
* Remove inappropriate references to the wrong name for the bootstrapgrog1999-08-012-16/+2
| | | | | | | manager, thus killing two birds with one stone. Objected-to-by: bde rnordier
* Make intelligible:grog1999-07-312-276/+686
| | | | | | | | | | Describe the command formats in English. Add references to other programs (boot0cfg, fdisk). Remove some old cruft, including FUD about single-level bootstraps. Add example of output format. Not-objected-to-by: msmith rnordier
* Become a maintainer.ru1999-07-281-0/+1
| | | | Approved by: brian
* Back out previous commit.ru1999-07-281-8/+1
|
* Add a sensible message if an invalid ID was enteredn_hibma1999-07-251-1/+3
| | | | | | PR: 8739 Submitted by: Love lha@stacken.kth.se Reviewed by: Doug Rabson <doug@freebsd.org>
* Fix a non-critical memory leak.ru1999-07-231-4/+6
| | | | | PR: 12769 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
* Modify device numbering method to work with latest -CURRENT. Briefly,grog1999-07-221-4/+4
| | | | | | | | | the device numbers are now minor number only, so that we can still compare them after dev_t has turned into a blob. Broken-by: dev_t changes Reported-by: Vallo Kallaste <vallo@matti.ee> "Niels Chr. Bank-Pedersen" <ncbp@bank-pedersen.dk>
* Fix a gcc stupidity where it thought a variable was being used uninitializedbillf1999-07-212-4/+10
| | | | | Add a case for UNSPEC which is in order by the enum definition, but out of order alphabetically.
* Avoid ambigious if/elsebillf1999-07-212-4/+6
|
* Avoid ambigious if-elsebillf1999-07-211-4/+7
|
* Since we are using strlen() let's assign it to the correct type andbillf1999-07-211-2/+3
| | | | include the proper header.
OpenPOWER on IntegriCloud