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

Andreas Jaeger
SuSE Labs
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

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