mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andreas Jaeger <aj@suse.de>
To: Damacus Porteng <kernel@bastion.yi.org>
Cc: Linux Kernel <linux-kernel@vger.kernel.org>
Subject: Re: Arg.  File > 2GB removal
Date: 23 Dec 2000 08:27:11 +0100	[thread overview]
Message-ID: <u8lmt71ttc.fsf@gromit.rhein-neckar.de> (raw)
In-Reply-To: <20001223021615.A8201@bastion.sprileet.net>
In-Reply-To: <20001223021615.A8201@bastion.sprileet.net>

>>>>> Damacus Porteng writes:

 > For grins, I did `dd if=/dev/zero of=testfile bs=1024 count=4000000` 
 > Obviously, with the limits of ext2, this isn't allowed, however, dd continued
 > marrily on its way, tho it spouted an error...
With 2.4 it's allowed.

 > I cancelled the dd and went to remove the file, though the following occured:
 > root@obfuscated:/home/ftp# rm testfile
 > rm: cannot remove `testfile': Value too large for defined data type     

 > 'ls' complains about the same.  I ran e2fsck -f /dev/hde6 (the partition of
 > /home) and it didn't 'find' the problem.
You need an rm that's using the LFS interface.

 > How do I remove this file and reclaim the HDD space?
Try:
echo > testfile

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj
-
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/

      parent reply	other threads:[~2000-12-23  8:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-12-23  8:16 Damacus Porteng
2000-12-23  7:20 ` Chris Wedgwood
2000-12-23  7:27   ` William T Wilson
2000-12-23  7:30     ` William T Wilson
2000-12-23  7:26 ` CaT
2000-12-23  7:27 ` Andreas Jaeger [this message]

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=u8lmt71ttc.fsf@gromit.rhein-neckar.de \
    --to=aj@suse.de \
    --cc=kernel@bastion.yi.org \
    --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

all inboxes | Powered by JetHome®