From owner-cvs-all@FreeBSD.ORG Mon Apr 14 20:15:53 2008 Return-Path: Delivered-To: cvs-all@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B0FFF10656DC; Mon, 14 Apr 2008 20:15:53 +0000 (UTC) (envelope-from mckusick@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 8875E8FC0C; Mon, 14 Apr 2008 20:15:53 +0000 (UTC) (envelope-from mckusick@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m3EKFrLc058556; Mon, 14 Apr 2008 20:15:53 GMT (envelope-from mckusick@repoman.freebsd.org) Received: (from mckusick@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3EKFrDG058555; Mon, 14 Apr 2008 20:15:53 GMT (envelope-from mckusick) Message-Id: <200804142015.m3EKFrDG058555@repoman.freebsd.org> From: Kirk McKusick Date: Mon, 14 Apr 2008 20:15:53 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sbin/restore dirs.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 14 Apr 2008 20:15:53 -0000 mckusick 2008-04-14 20:15:53 UTC FreeBSD src repository Modified files: sbin/restore dirs.c Log: restore(8) does not check for write failure while building two temp files containing directory and ownership data. If /tmp fills, the console is blasted with zillions of "file system full" errors, and restore continues on, even though directory and/or ownership data has been lost. This is particularly likely to happen when running from the live CD, which has little /tmp space. PR: bin/93603, also probably bin/107213 Fix from: Ken Lalonde Revision Changes Path 1.34 +68 -24 src/sbin/restore/dirs.c