Gentoo Archives: gentoo-user

From: Mike Kazantsev <mk.fraggod@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: Sparse files and df
Date: Sun, 24 May 2009 08:15:57
Message-Id: 20090524141306.5dc27389@coercion
In Reply to: [gentoo-user] Re: Sparse files and df by Nikos Chantziaras
1 On Sun, 24 May 2009 10:13:09 +0300
2 Nikos Chantziaras <realnc@×××××.de> wrote:
3
4 > I might be wrong, but here's my take on it:
5 >
6 > The files you moved won't be deleted until they are closed. That means
7 > quiting the torrent client. "du" shows space occupied by files that
8 > actually have a filename. The files you deleted are still there if the
9 > torrent client still has handles on them; they just lack an entry in the
10 > directory and therefore "du" doesn't pick them up, but of course "df"
11 > does since it's not looking at files individually but asks the
12 > filesystem directly.
13
14 That indeed explains what happened and why re-opening files helped.
15 Somehow, I haven't considered that the files might not be removed if
16 something held the handles to them.
17
18 Thanks.
19
20 --
21 Mike Kazantsev // fraggod.net

Attachments

File name MIME type
signature.asc application/pgp-signature