freebsd-skq/sbin/newfs
Peter Wemm 4af9705ceb Fix the mount_mfs case from the last cleanup. The code was (ab)using
it's internal malloc() implementation to try and avoid overstepping it's
resource limits (yuk!).  Remain using libc's malloc(), but check the
resource limits right before trying to malloc the ramdisk space and leave
some spare memory for libc.  In Andrey's words, the internal malloc
was "true evil"..  Among it's sins is it's ability to allocate less memory
than asked for and still return success.  stdio would just love that. :-)

Reviewed by: ache
1997-03-31 16:43:16 +00:00
..
Makefile Add generation number randomization. Newly created filesystems wil now 1997-03-23 20:08:22 +00:00
mkfs.c Fix the mount_mfs case from the last cleanup. The code was (ab)using 1997-03-31 16:43:16 +00:00
newfs.8 Merge from Lite2: 1997-03-11 12:48:17 +00:00
newfs.c compare return value from getopt against -1 rather than EOF, per the final 1997-03-29 03:33:12 +00:00