On Fri, Aug 15, 2003 at 03:41:28PM +0200, Tino Schwarze <tino.schwarze@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote: > BTW: Would it be possible to get a sparse file by zeroing the unused > bits? Then it would be quite space efficient (at least with some file > systems). No, there is no way to do that. You will need to copy the file if you want to "sparsify" parts, or use os-specific interfaces to do that (if they exist, they don't exist under linux). The closest you could get is to garbage collect the file and truncate it at the end. -- -----==- | ----==-- _ | ---==---(_)__ __ ____ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / pcg@xxxxxxxx |e| -=====/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |