in reply to vanishing system call

Okay, this is a little off the wall, but it happened to me, so I'll pass it along FWIW. My Linux box got into a situation where the /tmp directory, which has its own partition, contained a file advertising a size larger than the entire partition! (I still don't know how.) But my system monitor reported that /tmp was 80% free, and most programs didn't have any problems accessing it. Netscape's mail client, however, choked every time it needed to create a temporory file, with an "out of space" error. Once I discovered and eliminated the anomalous file, things were back to normal. (A fsck is recommended, BTW.)

If, in fact, your problem turns out to be a file space issue, you may want to give your /tmp directory a thorough perusal -- just in case.

Replies are listed 'Best First'.
Re: Re: vanishing system call
by paulbort (Hermit) on Sep 23, 2002 at 17:14 UTC
    Dr. Mu, I know that this is off-topic, but what you ran into there is likely a 'sparse file'. This is a file system feature that lets the system skip large chunks in the middle of a file that have no content. If you open a sparse file and put a character at offset 1E9, an OS that supports sparse files won't write all the intermediate blocks, just the one with the data, and a note of the offset of that block. It's a feature.
    --
    Spring: Forces, Coiled Again!