All of lore.kernel.org
 help / color / mirror / Atom feed
From: Eriberto <eriberto@eriberto.pro.br>
To: reiserfs-list@namesys.com
Subject: tail packing don't works with tails
Date: Thu, 11 Jan 2007 23:57:37 -0200	[thread overview]
Message-ID: <eo6puj$eao$1@sea.gmane.org> (raw)

Hello all,

I have a Debian Etch and a partition formated with ReiserFS 3.6. When I
put a file less than 4 KB in this partition, the df command don't show a
variation. Example:

# df /dev/hda7
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda7              9477976     32840   9445136   1% /mnt

# dd if=/dev/zero of=/mnt/3k count=1 bs=3k

# df /dev/hda7
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda7              9477976     32840   9445136   1% /mnt

Well, the used space didn't modified. Then the new file was stored in
the BTree. But when I make a file with 5 KB, two blocks (8 KB) are
occupied. Example:

# df /dev/hda7
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda7              9477976     32840   9445136   1% /mnt

# dd if=/dev/zero of=/mnt/5k count=1 bs=5k

# df /dev/hda7
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hda7              9477976     32848   9445136   1% /mnt

I think a file with 5 KB must occupy one block only (4 KB) and 3 KB must
be put in the BTree. I would like to know if I am right.

Thanks,

Eriberto - Brazil


             reply	other threads:[~2007-01-12  1:57 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-12  1:57 Eriberto [this message]
2007-01-12  9:22 ` tail packing don't works with tails Eriberto

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='eo6puj$eao$1@sea.gmane.org' \
    --to=eriberto@eriberto.pro.br \
    --cc=reiserfs-list@namesys.com \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.