Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 26 Oct 1996 14:26:24 GMT
From:      Adam David <adam@veda.is>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/1892: install(1) removes target file
Message-ID:  <199610261426.OAA08755@veda.is>
Resent-Message-ID: <199610261430.HAA28921@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         1892
>Category:       bin
>Synopsis:       install(1) removes target file
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 26 07:30:02 PDT 1996
>Last-Modified:
>Originator:     Adam David
>Organization:
Veda Internet
>Release:        FreeBSD 2.2-CURRENT i386
>Environment:

	'make install' with a shortage of disk space

>Description:

	install(1) removes the target file if the disk becomes full during
	the operation.

>How-To-Repeat:

	on a machine with a shortage of space in /
	do a 'make install' in /usr/src
	notice that /bin/sh or /sbin/dump (for instance) can get clobbered

>Fix:
	
	relink to the old copy of the file if it still exists, as is likely
	the case for /bin/sh

	or:

	always keep a reference to the old copy, and relink to it on failure.

>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199610261426.OAA08755>