lkml.org 
[lkml]   [2000]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Arg. File > 2GB removal
From
Date
>>>>> 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/

\
 
 \ /
  Last update: 2005-03-22 12:52    [W:0.078 / U:0.168 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site