On Mon, Jan 03, 2005 at 05:07:23PM -0800, Gregor Mosheh wrote: > --- David Kelly <[EMAIL PROTECTED]> 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. -- <Insert your favourite quote here.> Erik Trulsson [EMAIL PROTECTED] _______________________________________________ [email protected] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
