summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* Updated manual page. Removed description of (now defunct) -c restrictions.dillon1998-08-271-3/+2
|
* Use explicitly sized types when formatting cylinder groups.dfr1998-08-271-7/+7
|
* Remove -c restrictions from previous commit.des1998-08-261-13/+1
|
* (well tested at BEST): -i option can now take FP values (e.g. -i 0.1),dillon1998-08-262-17/+46
| | | | | | | extremely useful for networking testing. Other options secured from user-level D.O.S. attacks. -f, -s now root-only. -i wait times < 1.0 root-only. -c count limited to 100 and defaults to 16 when ping run by non-root user.
* Change length arguments to sysctl to size_t.dfr1998-08-251-5/+21
|
* Attempt to fix my breakage of the alpha makebootarea() in rev.1.19.bde1998-08-232-14/+14
| | | | | The previous attempt just converted compile time breakage to runtime breakage.
* Try to make this compile on both alpha and i386gpalmer1998-08-212-4/+4
|
* Fix the machine dependent SUBDIR I removed by mistake in the last commit.jb1998-08-201-1/+5
|
* Fixed style bugs in previous commit.bde1998-08-172-74/+72
| | | | Added some comments on #endifs.
* Teach disklabel how to install a bootstrap on an alpha with SRM console.dfr1998-08-172-4/+74
|
* All but two if these build on alpha now, but most are untested.jb1998-08-151-13/+9
| | | | ldconfig isn't required.
* Use explicitly sized types when laying out the cylinder groups. Thisdfr1998-08-153-18/+18
| | | | | | bug was the cause of the 'freeing free frag' panics that people have been seeing with FreeBSD/alpha. I have a similar patch to newfs but I've not finished testing it.
* Forgot to remove a ';' in my previous commit.charnier1998-08-121-2/+2
|
* Add "-aout" option when calling the linker, so that this will workjdp1998-08-121-3/+3
| | | | | in an ELF world. This will have to be revisited when the kernel moves to ELF.
* unifdef -UISOphk1998-08-071-119/+1
| | | | Inspired by bdes comment to PR: 7419
* Fix LIBDIR (for aout/ELF).markm1998-08-062-2/+4
|
* PR: 7475thepish1998-08-042-8/+14
| | | | | Added support for -q (suppress output) when firewall rules are taken from a file. Solves PR 7475
* There seem to be two messages that were added with soft-updatesphk1998-08-043-9/+9
| | | | | | | | | | | support, which need a final "\n". I only observed one line of mangled output, but I think there is another one which suffers from the same problem, and thus I provide a patch that covers both. PR: 7483 Reviewed by: phk Submitted by: Stefan Esser <se@FreeBSD.org>
* Use errx() instead of err() for malloc failures. -Wall. Do not dotcharnier1998-08-032-13/+14
| | | | terminate errx() string. Remove unused #includes. Use .Tn for NFS.
* Document -n (soft-update) flag.charnier1998-08-032-21/+21
| | | | Add rcsid, remove unused #includes. Sync usage() and SYNOPSIS.
* .Nm swapon -> .Nm.charnier1998-08-032-12/+11
| | | | Sort #includes. Add rcsid.
* Correct use of .Nm and .Ev.charnier1998-08-032-31/+34
| | | | Add rcsid, rmove unused #include. Spelling.
* Typo: i. e. -> i.e.charnier1998-08-033-14/+13
| | | | Remove unused #include.
* Correct use of .Nm. Add rcsid. Do not dot terminate err(3) strings. Spelling.charnier1998-08-032-17/+19
|
* Correct use of .Nm, add .An.charnier1998-08-031-7/+9
|
* Fixed printf format errors.bde1998-08-027-16/+20
|
* Avoid trying to malloc > (1<<32) bytes of memory due to an arithmeticdfr1998-08-013-6/+6
| | | | underflow on the alpha.
* Document the kern.logsigexit sysctl variable (sort of).joerg1998-07-291-1/+2
| | | | Reminded by: bde
* Commit patch from Tor Egge to fix the "large filesystem restore" problem.imp1998-07-281-6/+12
| | | | | | | This appears to work for me in the old case, but I don't have large enough filesystems to test the fix case. Reported working by: karl@mcs.net
* Spelling. Errx() on malloc() failure.charnier1998-07-282-11/+18
|
* Correct use of .Nm, add rcsid, remove unused #include.charnier1998-07-282-12/+15
|
* Spelling, add rcsid, remove unused #includes.charnier1998-07-2815-168/+183
| | | | | | | | Convert 1000000 usec to 1 sec 0 usec. Use provided safe malloc (rtmalloc()) instead of malloc(): exit on allocation failure. Correct use of .Nm Add usage() and use errx().
* Comment is .\" not .|'. Add -d and -t flags to SYNOPSIS and usage(). Getoptcharnier1998-07-282-28/+24
| | | | | returns -1. Correct use of .Nm. Spelling. Add rcsid and remove unused #include.
* Add rcsid. Remove unused #includes. Add missing prototypes and others -Wallcharnier1998-07-289-35/+51
| | | | cleanings. Spelling.
* Use an error message that more clearly indites(sp?) an out-of-synchoek1998-07-271-2/+2
| | | | | | kernel+userland when that is the case. PR: bin/7414
* Fixed bugs in `disklabel -R...':bde1998-07-252-16/+42
| | | | | | | | - nonstandard sector sizes didn't work because the sector size in the ASCII label was not read before a (default, wrong) sector size was used. - the exit status was 0 after exiting early due to an invalid ASCII label. Abort `disklabel -B...' if the secondary bootstrap doesn't fit.
* /usr/src/sbin/routed/parms.c and .../routed/rtquery/rtquery.c bothphk1998-07-222-4/+4
| | | | | | | | | | | contain code that compare a char pointer with a char. As this doesn't make much sense, it looks very much as if a '*' has been dropped by mistake. I have made no analysis of the possible consequences of the problem. PR: 7319 Reviewed by: phk Submitted by: Anders Thulin <Anders.X.Thulin@telia.se>
* Memory management error in init.phk1998-07-221-2/+5
| | | | | | PR: 7320 Reviewed by: phk Submitted by: Anders Thulin <Anders.X.Thulin@telia.se>
* Document sef's recent changes in the corefile naming.joerg1998-07-211-1/+2
| | | | Reviewed by: sef (well, i believe his `Looks good' was a review result :)
* Backed out rev.1.9 (except don't bring back the vax code deletedbde1998-07-201-1/+20
| | | | | | | | | | in rev.1.9). fsck uses the per-partition ffs-related information in the label to find alternate superblocks when the main superblock is hosed. Rev.1.9 broke this by deleting the code that wrote the label. PR: 2537 xref: fsck/setup.c rev.1.8
* Clear d_boot0 and d_boot1 in the virgin label. These are overlaid bybde1998-07-202-14/+14
| | | | | | | | | d_packname in in-core labels, so they are garbage if d_packname is initialized in the dummy label for the whole disk. dsopen() will soon initialize d_packname to "fictitious" if it is not already initialized. Fixed nearby error handling. Rev.1.7 apparently confused Perror() with perror().
* Minor consistency fixes.rnordier1998-07-191-8/+7
|
* Reverse charnier's changes to usage.rnordier1998-07-161-8/+26
|
* Make it compile again in the !__STDC__ case.charnier1998-07-161-1/+5
| | | | Found by: Bruce.
* Correct use of .Nm. Add rcsid. -Wall. Add -p flag in usage string (was missing).charnier1998-07-153-29/+25
|
* Correct use of .Nm. Add rcsid. Remove unused #includes. Use warn().charnier1998-07-152-24/+27
| | | | Errx(1, "malloc failed") is better than err(1, NULL).
* Correct use of .Nm. Remove unused #includes. Use warn(). cosmetic in usage()charnier1998-07-152-30/+29
| | | | | string. Translate 0 sec 1000000 usec to 1 sec 0 usec.
* Do not uppercase first letter in syslog() string.charnier1998-07-151-22/+21
|
* Add Id. .Nm nologin -> .Nm.charnier1998-07-153-2/+5
|
* Correct use of .Nm. Do not dot terminate syslog() strings. Remove unusedcharnier1998-07-152-14/+12
| | | | #includes. Add rcsid. -Wall.
OpenPOWER on IntegriCloud