| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
PR: docs/36267 (partial)
Submitted by: Thomas Quinot <thomas.cuivre.fr.eu.org>
|
|
|
|
| |
identical getprogname(3).
|
|
|
|
| |
acceptable (documented) getprogname(3).
|
|
|
|
|
|
|
| |
PR: i386/36016
Submitted by: Thomas Quinot <thomas@cuivre.fr.eu.org>
Reviewed by: rnordier
MFC after: 1 week
|
|
|
|
| |
Requested by: bde
|
|
|
|
| |
o remove main prototype
|
|
|
|
| |
o main prototype removed
|
|
|
|
|
|
| |
o ansi function definitions.
o main prototype removal
o unifdef __STDC__
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
with the NO_IPFILTER make.conf(5) knob.
(So that we can "make the-rest-of-the-world" again.)
|
|
|
|
| |
small, instead of a less meaningful error in newfs(8).
|
|
|
|
|
|
|
| |
o ansi function prototypes
o unifdef -D__STDC__
o __dead2 on usage prototype
o remove now-bogus main prototype
|
|
|
|
|
| |
o Use ansi function definitions
o unifdef -D__STDC__
|
|
|
|
|
| |
o Use ANSI function definitions
o unifdef -D__STDC__
|
|
|
|
|
|
| |
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?)
|
|
|
|
| |
line up into three to make it more readable)
|
| |
|
|
|
|
| |
* add extra -I path to get the "matching" header files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
Submitted by: Steve Kargl <sgk@troutmask.apl.washington.edu>
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
sys/disklabel.h since the one in here looks a little crunchy.
|
|
|
|
| |
that computes the base-2 log of a power of 2.
|
|
|
|
| |
to C89 style.
|
|
|
|
|
|
| |
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().
|
|
|
|
| |
Approved by: phk
|
|
|
|
|
| |
kmem accessors, allowing them to be used with crash dumps as well as live
systems, now.
|
|
|
|
|
| |
o Use ANSI function definitions
o mark usage() as __dead2
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
o Strict ANSI declarations.
o return (foo);
o main (int, char *[])
|
|
|
|
|
|
| |
o Use ANSI function definitions
o const poison
o remove register
|
|
|
|
|
| |
o Use ANSI function definitions.
o main(int, char *[])
|
|
|
|
| |
o Remove __P.
|
|
|
|
|
| |
o Remove __P.
o main(int, char *[])
|
|
|
|
|
| |
Don't use ISO string concatentation to obfuscate long single-line
messages...
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
0 was bad and setting it unconditionally to 2 was worse.
|
|
|
|
|
|
|
|
| |
Set WARNS=2
This is the beginning of a pre-UFS2 cleanup of newfs.
Sponsored by: DARPA, NAI Labs
|
| |
|
| |
|
| |
|