public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mike Kazantsev <mk.fraggod@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user]  Re: Sparse files and df
Date: Sun, 24 May 2009 14:13:06 +0600	[thread overview]
Message-ID: <20090524141306.5dc27389@coercion> (raw)
In-Reply-To: <gvas1l$mlp$1@ger.gmane.org>

[-- Attachment #1: Type: text/plain, Size: 827 bytes --]

On Sun, 24 May 2009 10:13:09 +0300
Nikos Chantziaras <realnc@arcor.de> wrote:

> I might be wrong, but here's my take on it:
> 
> The files you moved won't be deleted until they are closed.  That means 
> quiting the torrent client.  "du" shows space occupied by files that 
> actually have a filename.  The files you deleted are still there if the 
> torrent client still has handles on them; they just lack an entry in the 
> directory and therefore "du" doesn't pick them up, but of course "df" 
> does since it's not looking at files individually but asks the 
> filesystem directly.

That indeed explains what happened and why re-opening files helped.
Somehow, I haven't considered that the files might not be removed if
something held the handles to them.

Thanks.

-- 
Mike Kazantsev // fraggod.net

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

  reply	other threads:[~2009-05-24  8:15 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-05-24  6:42 [gentoo-user] Sparse files and df Mike Kazantsev
2009-05-24  7:06 ` Mike Kazantsev
2009-05-24  7:13 ` [gentoo-user] " Nikos Chantziaras
2009-05-24  8:13   ` Mike Kazantsev [this message]
2009-05-24  8:24 ` [gentoo-user] " Alan McKinnon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20090524141306.5dc27389@coercion \
    --to=mk.fraggod@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox