NetBSD/sbin/newfs
wrstuden 988bdf8e19 Modify how the byteswapping of the cylinder summaries is handled. If we
need to swap, allocate a buffer for the swapped summaries rather than using
writebuf. The latter is fixed at 64k, which is only enough room to hold
4096 summaries. Creating an fs with more results in a buffer overrun.

First noted by Matt Jacob mjacob@netbsd.org, and fixed by Albeaus
Bayucan, bayucan@nas.nasa.gov. Minor mods by me.
1999-03-11 20:23:58 +00:00
..
Makefile #include machine/bswap.h and remove -lutil. 1999-01-15 13:32:05 +00:00
extern.h Fix compiler warnings. 1997-06-30 22:20:30 +00:00
mkfs.c Modify how the byteswapping of the cylinder summaries is handled. If we 1999-03-11 20:23:58 +00:00
newfs.8 Clean up SYNOPSIS formatting. 1999-03-07 11:02:05 +00:00
newfs.c Include "disktab.h" to get prototype for getdiskbyname(). 1999-01-19 19:34:50 +00:00