From owner-freebsd-questions@FreeBSD.ORG Tue Jan 4 01:35:55 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1E13816A4CE for ; Tue, 4 Jan 2005 01:35:55 +0000 (GMT) Received: from av9-1-sn1.fre.skanova.net (av9-1-sn1.fre.skanova.net [81.228.11.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4070843D53 for ; Tue, 4 Jan 2005 01:35:54 +0000 (GMT) (envelope-from ertr1013@student.uu.se) Received: by av9-1-sn1.fre.skanova.net (Postfix, from userid 502) id 6A2C237F3E; Tue, 4 Jan 2005 02:35:53 +0100 (CET) Received: from smtp2-1-sn2.hy.skanova.net (smtp2-1-sn2.hy.skanova.net [81.228.8.177]) by av9-1-sn1.fre.skanova.net (Postfix) with ESMTP id 5C0A737E50 for ; Tue, 4 Jan 2005 02:35:53 +0100 (CET) Received: from falcon.midgard.homeip.net (h201n1fls24o1048.bredband.comhem.se [212.181.162.201]) by smtp2-1-sn2.hy.skanova.net (Postfix) with SMTP id 30CAA37E42 for ; Tue, 4 Jan 2005 02:35:52 +0100 (CET) Received: (qmail 15868 invoked by uid 1001); 4 Jan 2005 01:35:52 -0000 Date: Tue, 4 Jan 2005 02:35:52 +0100 From: Erik Trulsson To: Gregor Mosheh Message-ID: <20050104013552.GA15852@falcon.midgard.homeip.net> Mail-Followup-To: Gregor Mosheh , David Kelly , mccyron@kc.rr.com, freebsd-questions@freebsd.org References: <20050104010723.34785.qmail@web53801.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050104010723.34785.qmail@web53801.mail.yahoo.com> User-Agent: Mutt/1.5.6i cc: David Kelly cc: mccyron@kc.rr.com cc: freebsd-questions@freebsd.org Subject: Re: 4.8 - / out of space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2005 01:35:55 -0000 On Mon, Jan 03, 2005 at 05:07:23PM -0800, Gregor Mosheh wrote: > --- David Kelly wrote: > > > Another goof is for root to "write" to an unmounted > > filesystem. Later > > when the filesystem is mounted the written files are > > hidden yet still > > consume space on the fs containing the mount point > > (usually /). > > > Could you explain how this happens (or point me to a > doc)? Do you mean something like "tar cvf > /dev/ad0s1a"? > > Does that cause fs corruption? Would fsck reclaim that > space? > He probably means something like the following: Assume that /tmp exists as a separate filesystem. With /tmp unmounted create a lot of files in the /tmp directory (those file end up on the root filesystem) Mount /tmp. Now the files that were previously created in /tmp are shadowed by the /tmp partition and not seen be ls or du. They do still use space on / though. -- Erik Trulsson ertr1013@student.uu.se