Messages in this thread | | | Date | Mon, 8 Mar 1999 13:34:02 -0500 (EST) | From | "Richard B. Johnson" <> | Subject | Re: Wrong file size, is it dangerous? |
| |
On Mon, 8 Mar 1999, Ricardo Galli Granada wrote:
> Hi all, > I was suprised today. I found a mailbox in my 2.0.36 to be to > big to be true > > star:/home/var/spool/mail # ls -l .ptocarmen.bad > -rw------- 1 ptocarme root 3221220956 Mar 5 03:17 .ptocarmen.bad >
This is a sparse file generated by some kind of error. A sparse file could show a length equal to the maximum size allowed for a file, but use only one allocation unit. You could create such a file by creating one, doing an lseek to some large offset, writing one byte, then closing it.
I would just delete it. The error probably occurred over NFS with the file-size being received incorrectly. You probably have nothing wrong with your local file-system.
Cheers, Dick Johnson ***** FILE SYSTEM WAS MODIFIED ***** Penguin : Linux version 2.2.2 on an i686 machine (400.59 BogoMips). Warning : It's hard to remain at the trailing edge of technology. Bait : plutonium Cuba president assassination killed Iran Honduras nitrate tritium toluene ammonium subway 747 pits iodine critical nuclear
- 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/
| |