Re: files >4gig -- 2.2.9 is corrupting disk!

Pavel Machek (pavel@atrey.karlin.mff.cuni.cz)
Sun, 6 Jun 1999 15:49:11 +0200


HI!

> > So I created a 17 gig file using Linux 2.2.9 & a file in /tmp. Interestingly
> > enough at 17 gig I get an error 22 ( still have space & inodes
> > available ) .
>
> Reproduced on my 2.2.9/i386. Program does something different than it
> claims to (due to limited ranges of ints etc), but causes
> corruption. When I did ls -l c after run I saw rwx-----T or something
> this crazy. I tried it twice, worked both times.
>
> If you don't want to trash your harddisk, be sure to sync; killall
> bdflush; sync; run test; look what it caused and then _POWER OFF
> WITHOUT SYNCING_.

Sorry, false alarm. That code uses open() without giving it mode for
file. So no, I could not reproduce it on i386/2.2.9. (More details in
next email).

-- 
The best software in life is free (not shareware)!		Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/