[lkml]   [2003]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Serious filesystem bug in linux [nevermind]
>On Sun, Jan 26, 2003 at 03:18:49PM -0800, David Ashley wrote:
>> -rw-r--r-- 1 root root 1965107636224 Jan 26 14:59 output1.iso
>You know about the Unix concept of files with holes?

No, but I can look into it. There is definitely some bug in my program
but I wouldn't expect this behaviour. So if I seek way the hell out
to nowhere, do a write, I'll have a file of the total amount I've skipped

I just wrote a test program and it did exactly this. Thanks!

Here is the program
#include <fcntl.h>
#include <unistd.h>

int fd;
char buff[32];


Live and learn. Sorry for the alarm!

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

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