aboutsummaryrefslogtreecommitdiff
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* $Id$ -> $FreeBSD$Peter Wemm1999-08-28323-349/+349
| | | | Notes: svn path=/head/; revision=50476
* Update and tidy descriptions of info -V.Greg Lehey1999-08-261-30/+69
| | | | | | | | Describe use of -w option with start. Tidy up descriptions of scale factor suffixes. Notes: svn path=/head/; revision=50382
* Add -e option to usage().Doug White1999-08-252-4/+4
| | | | Notes: svn path=/head/; revision=50370
* Document the setstate command.Greg Lehey1999-08-241-6/+22
| | | | Notes: svn path=/head/; revision=50293
* Change declaration for initsd.Greg Lehey1999-08-241-1/+4
| | | | | | | | Add declarations for vinum_setstate, vinum_checkparity and vinum_rebuildparity. Notes: svn path=/head/; revision=50292
* parseline(): Reset the -w flag.Greg Lehey1999-08-241-27/+29
| | | | | | | continue_revive: Implement the -w flag. Notes: svn path=/head/; revision=50291
* vinum_info(): Add support for logging subdisk I/O.Greg Lehey1999-08-241-17/+21
| | | | Notes: svn path=/head/; revision=50290
* Tidy up some indentation and comments.Greg Lehey1999-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. Notes: svn path=/head/; revision=50289
* Add new option to fdisk: -ePoul-Henning Kamp1999-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. Notes: svn path=/head/; revision=50215
* Don't print a "," after the last superblock.Bill Fumerola1999-08-211-3/+4
| | | | | | | Submitted by: adrian Notes: svn path=/head/; revision=50134
* To christen the brand new security category for syslog, we get IPFWBrian Feldman1999-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 Notes: svn path=/head/; revision=50129
* Bad cross-reference of getservbyname(2) changed to getservbyname(3)Chris Costello1999-08-181-2/+2
| | | | | | | Reviewed by: ru Notes: svn path=/head/; revision=49994
* Add reference to blackhole(4)Geoff Rehmet1999-08-171-1/+2
| | | | Notes: svn path=/head/; revision=49974
* Re-add -Wmissing-prototypes to `COPTS'. I mistook -W for -Wno in this case.Chris Costello1999-08-161-1/+1
| | | | Notes: svn path=/head/; revision=49920
* Fix some bad references.Chris Costello1999-08-161-3/+3
| | | | Notes: svn path=/head/; revision=49918
* -Wmissing-prototypes is unnecessary here. There are no warnings producedChris Costello1999-08-161-2/+2
| | | | | | | with this option disabled. Notes: svn path=/head/; revision=49880
* Minor mdoc fix.Mike Pritchard1999-08-151-2/+2
| | | | Notes: svn path=/head/; revision=49834
* Minor style fix.Mike Pritchard1999-08-152-4/+4
| | | | Notes: svn path=/head/; revision=49833
* Various man page cleanup:Mike Pritchard1999-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> Notes: svn path=/head/; revision=49822
* initsd: On completion, put the subdisk in 'initialized' status, notGreg Lehey1999-08-151-34/+34
| | | | | | | | | | 'up'. This matches changes in the kernel module. Reported-by: Bernd Walter <ticso@cicely.de> Remy Nonnenmacher <remy@synx.com> Notes: svn path=/head/; revision=49818
* Bad reference getsockname(8) -> getsockname(2)Chris Costello1999-08-142-4/+4
| | | | Notes: svn path=/head/; revision=49803
* Correct typo.Greg Lehey1999-08-141-1/+0
| | | | Notes: svn path=/head/; revision=49763
* Add declarations for initvol, initplex and initsd helper functions forGreg Lehey1999-08-141-0/+3
| | | | | | | vinum_init. Notes: svn path=/head/; revision=49714
* vinum_info: add code to print out lock events.Greg Lehey1999-08-141-7/+32
| | | | | | | modify format of other event printouts. Notes: svn path=/head/; revision=49713
* make_plex_dev: make them raw. Volume-related plex devices willGreg Lehey1999-08-141-9/+19
| | | | | | | probably die a death soon (yes, DES, that's correct usage). Notes: svn path=/head/; revision=49712
* vinum_init: add code to initialize subdisks as well as plexes. AlsoGreg Lehey1999-08-141-129/+159
| | | | | | | provide for initializing volumes; this code is not yet complete. Notes: svn path=/head/; revision=49710
* Whoops, forgot one line in previous patch.Luigi Rizzo1999-08-121-1/+2
| | | | Notes: svn path=/head/; revision=49652
* Userland and manual page changes for probabilistic rule match.Luigi Rizzo1999-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. Notes: svn path=/head/; revision=49631
* Correct typo.Greg Lehey1999-08-091-1/+1
| | | | | | | | PR: docs/13050 Reported-by: Dan Langille<junkmale@xtra.co.nz> Notes: svn path=/head/; revision=49585
* Update to reflect recent changes.Greg Lehey1999-08-071-55/+46
| | | | Notes: svn path=/head/; revision=49496
* Remove code to detect RAID-5/non-RAID-5 kernel modules.Greg Lehey1999-08-071-7/+7
| | | | Notes: svn path=/head/; revision=49493
* Remove code to detect RAID-5/non-RAID-5 kernel modules.Greg Lehey1999-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. Notes: svn path=/head/; revision=49492
* Import RAID-5 code.Greg Lehey1999-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> Notes: svn path=/head/; revision=49491
* vinum_init:Greg Lehey1999-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. Notes: svn path=/head/; revision=49490
* Mention that CCD requires partitions of type FS_BSDFFS.Joseph Koshy1999-08-061-1/+7
| | | | | | | | PR: docs/12985 Submitted by: Kiril Mitev <kiril@ideaglobal.com> Notes: svn path=/head/; revision=49454
* Typo police. 'Acknowledgement' is spelled correctly so it was left untouched.Doug White1999-08-062-4/+4
| | | | | | | | PR: docs/12986 Submitted by: Seth <seth@freebie.dp.ny.frb.org> Notes: svn path=/head/; revision=49448
* Backup existing init(8) as /sbin/init.bak.Ruslan Ermilov1999-08-051-3/+9
| | | | | | | | PR: 12976 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au> Notes: svn path=/head/; revision=49432
* Typo of sample command line.SADA Kenji1999-08-011-2/+2
| | | | | | | Submitted by: Seiichi Satomi <ssatomi@rr.iij4u.or.jp> Notes: svn path=/head/; revision=49356
* Make ipfw's logging more dynamic. Now, log will use the default limitBrian Feldman1999-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. Notes: svn path=/head/; revision=49350
* Remove inappropriate references to the wrong name for the bootstrapGreg Lehey1999-08-012-16/+2
| | | | | | | | | | manager, thus killing two birds with one stone. Objected-to-by: bde rnordier Notes: svn path=/head/; revision=49339
* Make intelligible:Greg Lehey1999-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 Notes: svn path=/head/; revision=49306
* Become a maintainer.Ruslan Ermilov1999-07-281-0/+1
| | | | | | | Approved by: brian Notes: svn path=/head/; revision=49166
* Back out previous commit.Ruslan Ermilov1999-07-281-8/+1
| | | | Notes: svn path=/head/; revision=49164
* Add a sensible message if an invalid ID was enteredNick Hibma1999-07-251-1/+3
| | | | | | | | | PR: 8739 Submitted by: Love lha@stacken.kth.se Reviewed by: Doug Rabson <doug@freebsd.org> Notes: svn path=/head/; revision=49079
* Fix a non-critical memory leak.Ruslan Ermilov1999-07-231-4/+6
| | | | | | | | PR: 12769 Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au> Notes: svn path=/head/; revision=49018
* Modify device numbering method to work with latest -CURRENT. Briefly,Greg Lehey1999-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> Notes: svn path=/head/; revision=48975
* Fix a gcc stupidity where it thought a variable was being used uninitializedBill Fumerola1999-07-212-4/+10
| | | | | | | | Add a case for UNSPEC which is in order by the enum definition, but out of order alphabetically. Notes: svn path=/head/; revision=48957
* Avoid ambigious if/elseBill Fumerola1999-07-212-4/+6
| | | | Notes: svn path=/head/; revision=48956
* Avoid ambigious if-elseBill Fumerola1999-07-211-4/+7
| | | | Notes: svn path=/head/; revision=48954
* Since we are using strlen() let's assign it to the correct type andBill Fumerola1999-07-211-2/+3
| | | | | | | include the proper header. Notes: svn path=/head/; revision=48953