Subject: misc/33753: don't installworld to a full disk
To: None <misc-bug-people@netbsd.org, gnats-admin@netbsd.org,>
From: None <dholland@eecs.harvard.edu>
List: netbsd-bugs
Date: 06/17/2006 03:20:01
>Number: 33753
>Category: misc
>Synopsis: don't installworld to a full disk
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: misc-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Jun 17 03:20:01 +0000 2006
>Originator: David A. Holland <dholland@eecs.harvard.edu>
>Release: NetBSD 3.99.21 (-20060616)
>Organization:
>Environment:
System: NetBSD tanaqui 3.99.21 NetBSD 3.99.21 (TANAQUI) #4: Fri Jun 16 11:23:47 EDT 2006 dholland@tanaqui:/usr/src/sys/arch/i386/compile/TANAQUI i386
Architecture: i386
Machine: i386
>Description:
I discovered the hard way today that if you installworld to a
full (or nearly full) disk, it turns into "eraseworld" - it
truncates what it touches and it doesn't stop, so if running
unattended it'll trash the system pretty thoroughly.
Recovery is pretty straightforward: clear some space, then
redo the installworld. (But if using build.sh, be sure it
doesn't try to rebuild nbmake, as that will fail in bizarre
ways.)
It would be nice if it didn't do this. Not a tremendously big
problem though.
>How-To-Repeat:
As above.
>Fix:
Probably not that hard. :-)