On Fri, Dec 17, 2010 at 01:36:35AM +0100, Goswin von Brederlow wrote: > Or avoid the whole issue and make the file large enough to begin > with. Thanks to sparse files you can create a huge file that only uses 1 > block on disk. Then you can mmap that and it will use up more disk space > as you fill in data automatically.
Sure, if you have an upper limit. Neither works well on 32 bit architectures where you're really limited for contiguous free address space. Rich. -- Richard Jones Red Hat _______________________________________________ Caml-list mailing list. Subscription management: http://yquem.inria.fr/cgi-bin/mailman/listinfo/caml-list Archives: http://caml.inria.fr Beginner's list: http://groups.yahoo.com/group/ocaml_beginners Bug reports: http://caml.inria.fr/bin/caml-bugs