4.8 - / out of space

Erik Trulsson ertr1013 at student.uu.se
Mon Jan 3 17:35:55 PST 2005


On Mon, Jan 03, 2005 at 05:07:23PM -0800, Gregor Mosheh wrote:
> --- David Kelly <dkelly at HiWAAY.net> 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
ertr1013 at student.uu.se


More information about the freebsd-questions mailing list