summaryrefslogtreecommitdiffstats
path: root/sbin
Commit message (Collapse)AuthorAgeFilesLines
* o remove __Pimp2002-03-2113-123/+122
| | | | o remove main prototype
* o __P removedimp2002-03-2121-130/+129
| | | | o main prototype removed
* o __P removal.imp2002-03-214-79/+46
| | | | | | o ansi function definitions. o main prototype removal o unifdef __STDC__
* Revert 1.20:mike2002-03-211-2/+0
| | | | | Memory disks may be used for other purposes besides newfs(8), so it isn't helpful to require the minimum size meet newfs(8)'s criteria.
* Replaced hacks in sbin/Makefile,v 1.99 and usr.sbin/Makefile,v 1.217ru2002-03-211-4/+8
| | | | | | with the NO_IPFILTER make.conf(5) knob. (So that we can "make the-rest-of-the-world" again.)
* Provide a proper error message in mdconfig(8) when a filesystem is toomike2002-03-211-0/+2
| | | | small, instead of a less meaningful error in newfs(8).
* o __P removedimp2002-03-2038-1073/+501
| | | | | | | o ansi function prototypes o unifdef -D__STDC__ o __dead2 on usage prototype o remove now-bogus main prototype
* o remove __Pimp2002-03-201-160/+64
| | | | | o Use ansi function definitions o unifdef -D__STDC__
* o remove __Pimp2002-03-2016-694/+376
| | | | | o Use ANSI function definitions o unifdef -D__STDC__
* Remove 'register' keyword.obrien2002-03-2043-328/+328
| | | | | | It does not help modern compilers, and some may take some hit from it. (I also found several functions that listed *every* of its 10 local vars with "register" -- just how many free registers do people think machines have?)
* * add extra -I path to get the "matching" header files. (and split the onedarrenr2002-03-201-1/+3
| | | | line up into three to make it more readable)
* * add extra -I path to get the "matching" header files.darrenr2002-03-201-0/+1
|
* * need to compile printnat.c now that this function is in a separate .c filedarrenr2002-03-201-1/+2
| | | | * add extra -I path to get the "matching" header files.
* Swing the axe and remove some archaic features from newfs which modernphk2002-03-204-339/+52
| | | | | | | | | | | | | | | | | | | diskdrives do neither need nor want: -O create a 4.3BSD format filesystem -d rotational delay between contiguous blocks -k sector 0 skew, per track -l hardware sector interleave -n number of distinguished rotational positions -p spare sectors per track -r revolutions/minute -t tracks/cylinder -x spare sectors per cylinder No change in the produced filesystem image unless one or more of these options were used. Approved by: mckusick
* Kill registerimp2002-03-202-4/+4
|
* "-" now sends output to stdout.rwatson2002-03-201-0/+1
|
* Teach growfs's dbg_open() that a filename of "-" for output means torwatson2002-03-201-1/+4
| | | | | | | | | open "/dev/stdout". This doesn't actually affect growfs, but does affect ffsinfo, permitting ffsinfo to output to the shell's stdout rather than requiring it be dumped to a file or explicitly pointed at a special device. Reviewed by: peter
* Remove ipnat until the committer can actually test his changes.obrien2002-03-201-1/+0
|
* Hopefully fix make world.alfred2002-03-191-1/+1
| | | | Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
* Add the undocumented -R option to disable randomness for regression-testing.phk2002-03-197-3/+71
| | | | | | | | Add a couple of simple regression tests accessible with "make test", they depend on the md(4) driver. FYI I have also tried running the test against a week old newfs and it passed.
* Further cleanups.phk2002-03-193-58/+96
|
* Remove stray registerimp2002-03-192-2/+2
|
* De-__P the man page, but I suspect that we need to freshly importimp2002-03-192-26/+26
| | | | sys/disklabel.h since the one in here looks a little crunchy.
* Replace a number of similar `for' loops with a new `ilog2()' functioniedowse2002-03-191-10/+17
| | | | that computes the base-2 log of a power of 2.
* Complete the ANSIfication of newfs by converting function declarationsiedowse2002-03-192-74/+17
| | | | to C89 style.
* The FSIRAND code is always compiled in, and it is unlikely thatiedowse2002-03-192-20/+1
| | | | | | anyone needs a newfs without it. Remove the #ifdef's from around the code and the -DFSIRAND from the Makefile. Also remove redundant declarations of random() and srandomdev().
* Remove the ancient STANDALONE code.iedowse2002-03-192-119/+1
| | | | Approved by: phk
* both ipnat and ipfstat now use libkvm rather than their own home-rolleddarrenr2002-03-192-2/+5
| | | | | kmem accessors, allowing them to be used with crash dumps as well as live systems, now.
* o Remove __Pimp2002-03-191-5/+3
| | | | | o Use ANSI function definitions o mark usage() as __dead2
* Move savecore build enable to MD section of Makefile, currently enabledpeter2002-03-191-2/+6
| | | | | | for i386 and alpha. Although it builds on sparc64, it does not yet work. A similar hack as what is used on the sparc64 MD macros can be used to make ia64 build too, but there doesn't seem to be much point.
* Remove yet more vestiges of mount_mfs.iedowse2002-03-182-8/+0
|
* o __Pimp2002-03-181-4/+4
| | | | | | o Strict ANSI declarations. o return (foo); o main (int, char *[])
* o remove __Pimp2002-03-182-144/+96
| | | | | | o Use ANSI function definitions o const poison o remove register
* o __P removal.imp2002-03-181-41/+24
| | | | | o Use ANSI function definitions. o main(int, char *[])
* o Use real prototypes and ANSI function definitions.imp2002-03-181-12/+5
| | | | o Remove __P.
* o Use real prototypesimp2002-03-181-8/+6
| | | | | o Remove __P. o main(int, char *[])
* Fixed some style bugs (mainly ones not fixed or made worse by rev.1.44).bde2002-03-181-8/+9
| | | | | Don't use ISO string concatentation to obfuscate long single-line messages...
* Fixed some style bugs (mainly ones not fixed or made worse by rev.1.41).bde2002-03-181-12/+16
| | | | | | Old code obfuscates long (but single-line) messages by printing them in pieces using %s. Rev.1.41 obfuscated some new long messages using ISO string concatenation. This commit only fixes the new obfuscations.
* Removed vestiges of mount_mfs. Sorted the Makefile a bit.bde2002-03-182-15/+3
|
* Fixed 2 layers of breakage of WARNS. Setting WARNS unconditionally tobde2002-03-181-1/+1
| | | | 0 was bad and setting it unconditionally to 2 was worse.
* Remove __P() and register.phk2002-03-173-32/+32
| | | | | | | | Set WARNS=2 This is the beginning of a pre-UFS2 cleanup of newfs. Sponsored by: DARPA, NAI Labs
* This sounds better.ru2002-03-151-1/+1
|
* mdoc(7) police: tiny fixes.ru2002-03-151-2/+2
|
* mdoc(7) police: GC duplicate VCS ID.ru2002-03-151-3/+0
|
* mdoc(7) police: misc fixes.ru2002-03-151-5/+4
|
* mdoc(7) police: kill whitespace at eol.ru2002-03-151-1/+1
|
* mdoc(7) police: tiny fixes.ru2002-03-151-2/+3
|
* mdoc(7) police: tiny fixes.ru2002-03-151-2/+2
|
* minor grammar fixesbillf2002-03-141-2/+2
|
* Clarify the cylinder > 1023 issue, now that EDD support is automatic.rnordier2002-03-131-5/+3
| | | | | Also drop a note about undocumented features that was intended to cover the since-documented slice-selection syntax.
OpenPOWER on IntegriCloud