summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Make this compile. This is a hack.peter2000-03-202-15/+32
|
* Only character devices exsist these days. Make savecore understandps2000-03-201-33/+8
| | | | this.
* Activate the pc98 directory.kato2000-03-181-2/+2
|
* Added PC98 version of fdisk.kato2000-03-188-0/+4040
|
* Make the fore_dnld program more robust and reliable.phk2000-03-171-6/+15
| | | | In particular HZ=1000 would seem to break it before.
* Typo ("frequencey").mph2000-03-151-1/+1
|
* Use CMSG_LEN() to compute ping SCM_TIMESTAMP cmsg_len.shin2000-03-141-1/+1
| | | | | Without this, cmsg_len size should be smaller than necessary on alpha. (Though, no obvious error was seen on ping time value on beast.)
* Open the device read-only initially and re-open read-write if necessarysheldonh2000-03-141-13/+33
| | | | | | | | | | | | | | later. This allows tunefs -p on mounted filesystems. Side-effects: Use K&R prototypes. Use definitions from fcntl.h for the flags argument to open(2). There are cosmetic differences between this and the submitted patch. PR: 17143 Reported by: Peter Edwards <peter.edwards@ireland.com> Submitted by: luoqi
* Fix nits in previous commit: restore option ordering of the optionsheldonh2000-03-132-4/+10
| | | | | description list; break an overly long line; use the Fx macro instead of "FreeBSD".
* Add missing end of semi colon of an example setkey command.shin2000-03-131-1/+1
| | | | Submitted by: kuriyama
* Typo fix. s/SAD/SPD/.shin2000-03-121-1/+1
| | | | Specified by: jdp
* Clear sin6_scope_id before passing routes into kernel, becaues kernelshin2000-03-111-0/+1
| | | | | | | | | | don't support routes with sin6_scope_id set. Without this fix, routes with IPv6 scoped addr won't work when it is assigned by "route" command. Approved by: jkh Reviewed by: ume
* -e -> -I change.imp2000-03-104-18/+72
| | | | | | -s for sumary Approved by: jkh
* Don't use the old raw name for disk devices.obrien2000-03-092-2/+2
|
* Update icmp node info query message bit order of query types,shin2000-03-091-1/+5
| | | | | | | | | | | | | according to draft-ietf-ipngwg-icmp-name-lookups-04 to 05 change. This is necessary before 4.0, because, -This change is non backword compatible -Other KAME derived platforms applied 05 -Author of the draft said he never do backword imcompatible changes again. Approved by: jkh Obtained from: KAME project
* Remove more single-space hard sentence breaks.sheldonh2000-03-061-1/+2
|
* Purely cosmetic tweak, use consistant whitespace with scopeid.peter2000-03-061-1/+1
|
* CMSG_XXX macros alignment fixes to follow RFC2292.shin2000-03-031-1/+1
| | | | | | | Approved by: jkh Submitted by: Partly from tech@openbsd Reviewed by: itojun
* The new boot code uses `ad' for ATA disks, not `wd'. Correct thejkoshy2000-03-031-3/+3
| | | | manual page.
* Remove more single-space hard sentence breaks.sheldonh2000-03-023-4/+8
|
* Replace abuse of a literal block display with a more appropriatesheldonh2000-03-021-20/+24
| | | | | | tag list. Apologies to translators for mixing in a few language clean-ups.
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-011-2/+4
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-012-9/+18
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Remove single-space hard sentence breaks. These degrade the qualitysheldonh2000-03-0136-142/+283
| | | | | of the typeset output, tend to make diffs harder to read and provide bad examples for new-comers to mdoc.
* Remove xrefs to obsolete bad144(8).nik2000-03-011-4/+1
| | | | | PR: docs/17060 Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>
* Remove xrefs to obsolete ft driver.nik2000-03-012-2/+0
| | | | | PR: docs/17080 Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>
* Remove description of defunct DEBUG_NUMOUTPUT by commenting out.grog2000-03-011-34/+40
| | | | | | | | | Describe stop -f to stop when config updates are disabled. Explain in more detail why Vinum needs its own partition type, and why you can't make it the c partition. Implicitly-sanctioned-by: jkh
* Add declaration for parityops.grog2000-03-011-1/+2
| | | | Implicitly-sanctioned-by: jkh
* Increase the time we'll wait for a reviving disk to carry on and notgrog2000-03-011-4/+14
| | | | | | be marked as stalled, from 1 second to 5 seconds. Implicitly-sanctioned-by: jkh
* Implement vinum_rebuildparity, which had got forgotten. In thegrog2000-03-011-35/+58
| | | | | | | process, move the body of vinum_rebuildparity and vinum_checkparity to a new function, parityops. Implicitly-sanctioned-by: jkh
* Change DISTRIBUTION to match new world order.markm2000-02-291-1/+1
|
* Add definitions for vinum_raid[45] and checkupdates.grog2000-02-291-0/+3
| | | | Approved-by: jkh
* Don't print any error message if we can't open the history file. Thisgrog2000-02-291-10/+8
| | | | | | | | | | | | | | | replaces an older attempt to silence vinum(8) when started in single-user mode. Add entries for vinum_raid[45]. Replace the preprocessor variable name CDEV_MAJOR with VINUM_CDEV_MAJOR. continue_revive: Set the proc title to 'reviving <sdname>' so that it can be recognized in a ps list. Approved-by: jkh
* vinum_ldi: Honour the 'recurse' flag and show the subdisks on thisgrog2000-02-291-22/+69
| | | | | | | | | | | | | | | | | | drive if it is set. vinum_lvi: Change line spacing. This is still not right. Change checks for striped or RAID-5 plexes to a macro 'isstriped', which now also includes RAID-4. Change checks for RAID-5 plexes to a macro 'isparity', which now also includes RAID-4. vinum_lsi: If the subdisk is initializing or reviving, don't wait a whole second to check whether it's advancing; wait in increments of 50 ms up to 1 second. This makes for a barely perceptible delay. Approved-by: jkh
* New function checkupdates: check whether configuration updates aregrog2000-02-291-5/+357
| | | | | | | | | | | | | | | | | | | | | | enabled and print a warning message in varous places if they are not. Fix typos in comments. Change some indents to approach style(9). initvol: If init fails, place the subdisks in a "down" state. vinum_start(): If we're starting a plex, try doing it directly. It's possible that the state of the plex differs from that of the subdisks, for example if somebody has used 'setupstate'. New functions vinum_raid4 and vinum_raid5 to create RAID-4 and RAID-5 volumes, analagous to vinum_mirror and vinum_stripe. vinum_checkparity: Don't try to check the parity of a non-parity plex, print a rude remark instead. Approved-by: jkh
* correct wording in BUGS section; it's not possible to dismount swapgsutter2000-02-281-2/+2
| | | | | | | devices, but it's certainly possible to make use of them. PR: 17013 Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>
* Yesterday I had to fix a badly broken disk, and found that fsck kept dying:mckusick2000-02-289-9/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | DIR I=64512 CONNECTED. PARENT WAS I=4032 fsck: cannot find inode 995904 fsdb found the inodes with no problem: fsdb (inum: 64512)> inode 995904 current inode: directory I=995904 MODE=40777 SIZE=512 MTIME=Feb 14 15:27:07 2000 [0 nsec] CTIME=Feb 14 15:27:07 2000 [0 nsec] ATIME=Feb 24 10:31:58 2000 [0 nsec] OWNER=nobody GRP=nobody LINKCNT=4 FLAGS=0 BLKCNT=2 GEN=38a41386 Direct blocks: 8094568 0 0 0 0 0 0 0 0 0 0 0 Indirect blocks: 0 0 0 The problem turns out to be a program logic error in fsck. It stores directory inodes internally in hash lists, using the number of directories to form the hash key: inpp = &inphead[inumber % numdirs]; Elsewhere, however, it increments numdirs when it finds unattached directories. I've made the following fix, which solved the problem in the case in hand. Submitted by: Greg Lehey <grog@lemis.com> Reviewed by: Matthew Dillon <dillon@apollo.backplane.com> Approved by: Kirk McKusick <mckusick@mckusick.com>
* Print scope id for scoped addrs.shin2000-02-281-0/+4
| | | | Approved by: jkh
* A huge rewrite of the manual page (mostly -mdoc related).ru2000-02-281-546/+653
| | | | Reviewed by: luigi, sheldonh
* Spelling: ``adress'' -> ``address''chris2000-02-261-1/+1
|
* Introduce ``add'' and ``remove'' as alternatives to ``alias'' and ``delete''.rwatson2000-02-262-1/+9
| | | | | | | | | Improve compatibility with BSD/OS, and also more accurately reflect that IP aliases aren't really any different than the primary IP address on an interface. Reviewed by: dcs Approved by: jkh
* Use 'following' instead of 'follow' in a couple of places for a slightlysteve2000-02-261-2/+2
| | | | better read.
* Suggest ppp -nat, not ppp -aliasbrian2000-02-261-1/+1
|
* Remove the config file line length restriction.ru2000-02-251-13/+10
| | | | | | PR: 16900 Reviewed by: "Crist J. Clark" <cjclark@home.com>, jkh Approved by: jkh
* Use libcrypto instead of libdes.markm2000-02-244-9/+11
|
* Security fixes. (Just same as sbin/ping and usr.sbin/traceroute)shin2000-02-241-3/+8
| | | | | | | | | -Open socket() at first and then setuid() to actual user. -Allow ping6 preload option only for root. Approved by: jkh Submitted by: Neil Blakey-Milner <nbm@mithrandr.moria.org>
* Add an scope index embedded IPv6 link local addr creation support, by routeshin2000-02-231-0/+4
| | | | | | command. This is a workaround for some kernel interface which can't treat sin6_scope_id, yet.
* Don't scare the users.alfred2000-02-222-8/+0
| | | | | | | Kirk argees that the comment about corruption caused by switching the flags on an already mounted manpage are bogus, it doesn't happen. Ok by: mckusick
* Fix 'camcontrol inquiry'. The inquiry data structure changes (increased token2000-02-201-2/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 256 bytes) caused it to break on many devices. The SCSI spec says that for commands with 8-bit length fields, a value of 0 means 256 bytes. As it turns out, many devices don't deal with that properly. Some interpret the 0 as 0, and return no data. Others return more than 256 bytes of data, and cause an overrun. The fix is to tell the device we've only allocated SHORT_INQUIRY_LENGTH (36 bytes) of inquiry data, instead of sizeof(struct scsi_inquiry_data). camcontrol.c: Change inq_len in the call to scsi_inquiry() to SHORT_INQUIRY_LENGTH, and add a long comment explaining the reason for the change. scsi_all.h: Add a comment above the definitinon of SHORT_INQUIRY_LENGTH alerting people that it is both the initial probe inquiry length, and the minimum amount of data needed for scsi_print_inquiry() to function. scsi_all.c: Add a comment about SHORT_INQUIRY_LENGTH being the minimum amount of data needed for scsi_print_inquiry() to function. Reviewed by: gibbs Approved by: jkh Reported by: "John W. DeBoskey" <jwd@unx.sas.com>
* detect deleted tty lines in /etc/ttys.alfred2000-02-191-1/+25
|
OpenPOWER on IntegriCloud