lkml.org 
[lkml]   [2000]   [Dec]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Arg. File > 2GB removal
On Sat, 23 Dec 2000, Chris Wedgwood wrote:

> rm probably stat'd the file beforing removing it -- and failed,
> because it's either old or uses and old library (which isn't LFS
> aware)

If that's true, then the following C programlet should remove the file:

Replace "huge-file-name" with the full path of your file, it needs to stay
in quotes.

---

#include <stdio.h>
#include <stdlib.h>

int main()
{
unlink("huge-file-name");
return 0;
}

-
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.041 / U:0.032 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site