From owner-freebsd-bugs Sat Oct 26 07:30:05 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA28929 for bugs-outgoing; Sat, 26 Oct 1996 07:30:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id HAA28921; Sat, 26 Oct 1996 07:30:03 -0700 (PDT) Resent-Date: Sat, 26 Oct 1996 07:30:03 -0700 (PDT) Resent-Message-Id: <199610261430.HAA28921@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, adam@veda.is Received: from veda.is (root@ubiq.veda.is [193.4.230.60]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id HAA28695 for ; Sat, 26 Oct 1996 07:26:32 -0700 (PDT) Received: (from adam@localhost) by veda.is (8.8.2/8.7.3) id OAA08755; Sat, 26 Oct 1996 14:26:24 GMT Message-Id: <199610261426.OAA08755@veda.is> Date: Sat, 26 Oct 1996 14:26:24 GMT From: Adam David Reply-To: adam@veda.is To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: bin/1892: install(1) removes target file Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >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: