public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: safemode <safemode@voicenet.com>
To: Marc Mutz <Marc@Mutz.com>
Cc: Adam <adam@cfar.umd.edu>, linux-kernel@vger.kernel.org
Subject: Re: 'holey files' not holey enough.
Date: Wed, 29 Nov 2000 18:18:39 -0500	[thread overview]
Message-ID: <20001129181839.I1217@psuedomode> (raw)
In-Reply-To: <Pine.GSO.4.21.0011290755570.2862-100000@chia.umiacs.umd.edu> <3A2584DC.1699B6CD@Mutz.com>
In-Reply-To: <3A2584DC.1699B6CD@Mutz.com>; from Marc@Mutz.com on Wed, Nov 29, 2000 at 17:36:12 -0500


On Wed, 29 Nov 2000 17:36:12 Marc Mutz wrote:
> kernel 2.2.17, '/' being a 1k blocksize ext2fs:
> 
> root@adam:/ > dd if=/dev/zero of=holed.file bs=1000 seek=5000 count=1000
> 1000+0 records in
> 1000+0 records out
> root@adam:/ > ls -l holed.file
> -rw-r--r--   1 root     root      6000000 Nov 29 23:33 holed.file
> root@adam:/ > du -sh holed.file
> 5.7M    holed.file
> 
> Now that seems funny.

why is 5.7MB funny with 6000000 bytes ?   or are you talking about
something else?  Don't forget that BYTES and thus MEGABYTES are found by
powers of 2.  They do not function like the decimal "bits".  quick way to
do the conversion is divide bytes by 1024 to get Kilobytes and then again
by 1024 to get Megabytes.  This is how it should be displayed.   Or am i
missing the point of your comment?


> Marc
> 
> -- 
> Marc Mutz <Marc@Mutz.com>     http://EncryptionHOWTO.sourceforge.net/
> University of Bielefeld, Dep. of Mathematics / Dep. of Physics
> 
> PGP-keyID's:   0xd46ce9ab (RSA), 0x7ae55b9e (DSS/DH)
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-kernel"
> in
> the body of a message to majordomo@vger.kernel.org
> Please read the FAQ at http://www.tux.org/lkml/
> 

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

  reply	other threads:[~2000-11-29 23:49 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-11-29 13:00 'holey files' not holey enough Adam
2000-11-29 13:07 ` Tigran Aivazian
2000-11-29 13:14   ` Adam
2000-11-29 20:55   ` Adam
2000-11-29 20:03     ` Martin Josefsson
2000-11-29 22:36 ` Marc Mutz
2000-11-29 23:18   ` safemode [this message]
2000-11-29 23:34   ` Andreas Dilger
2000-11-30 14:34     ` Adam
2000-11-30 17:45       ` Andreas Dilger
2000-12-01 14:13     ` Marc Mutz
     [not found] <Pine.GSO.4.21.0012020517290.20770-100000@chia.umiacs.umd.edu>
2000-12-02 20:40 ` Jaakko Hyvätti

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=20001129181839.I1217@psuedomode \
    --to=safemode@voicenet.com \
    --cc=Marc@Mutz.com \
    --cc=adam@cfar.umd.edu \
    --cc=linux-kernel@vger.kernel.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