Steve Cobrin wrote:
> 
> One of my mail folders got a bit too big ( approx 14k messages!), I
> wanted to try and slit it up, but now Mozilla 0.9.2  running under
> Linux refuses to open it. I also have noticed that its a sparse/holey
> file. I want to recover what I can from this mail folder. Does
> anybody have any suggestions?

What makes you think it's a sparse file?  If you do a du -k on it, do
you get a smaller size?

> output from ls -ls command:
> 40993 -rw------- 1 steve users  4294967295 Jul 01:34 linux-e

Having a 4G file can create problems under most OSs.  AFAIK, the problem
is because the file size is 2^32.  When using a 32bit number to seek to
a position in the file, you're limited to 4G.

Anyway, the simplest way I can think of to make it smaller (just a
little bit should help), is this:

tail +20 linux-e > newfile

This will just chop off the first 19 lines of the file (probably less
than one message).  That should be enough that the file is can be
written to, seeked to the end, etc.

I don't know what Moz will do with a file that doesn't begin the way it
should.  You may need to manually edit the file afterward to remove the
entire 1st message...

                                                The Amigo

Reply via email to