lkml.org 
[lkml]   [1998]   [Dec]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [2.1.131] unrecovered disk space after deletion
Chng Tiak-Jung wrote:
>
> Hi,
>
> I have installed 2.1.131 recently on a P166 and discovered that the
> disk space were not recovered after deletion. I have to shutdown the
> system and do a e2fsck and scandisk on Win95 to recover my lost disk
> space.

Some process had the file still open. When you remove a file, you just
unlink its directory entry. When the usage count of the inode falls to
zero, then the file is truly deleted. The usage count includes the
number of directory [hard] links, _and_ the number of times the file is
opened. Once that process closes the file, the space is reclaimed.

--

Brian Gerst

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:46    [W:0.037 / U:0.808 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site