l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2001 Dec 30 16:58

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Decompressing large files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Decompressing large files

Micah Cowan wrote:
> On Mon, Oct 30, 2000 at 02:18:20PM -0800, Eric Engelhard wrote:
> > I am decompressing large (>1GB compressed) genome sequence files. I have
> > plenty of free space on a fast scsi and 256MB of RAM. When I tried to to
> > use "uncompress filename.Z" or "gzip -d filename.Z" I got a write error
> > each time. The solution (well, MY solution) was to use the "-c" option
> > with uncompress and pipe the output to a specified file. Does anyone
> > know enough about uncompress to tell me why this solves the problem?
> > --
> > Eric
> I don't, but offhand I'd say that uncompress doesn't handle writes as
> stablely (if that's a word :) ) as bash does.  Which makes sense to
> me, since uncompress is known to not verify compressed input files,
> according to the gzip (i think) manpage.  After all, isn't the only
> difference between uncompress filename.Z and uncompress -c, etc. the
> fact that uncompress is/isn't handling the actual disk io?
> Micah

Yes, the "-c" option sends everything to stdout.

also (from the uncompress man page):

       Although  compressed files are compatible between machines
       with large memory, -b12 should be used for  file  transfer
       to  architectures with a small process data space (64KB or
       less, as exhibited by the DEC PDP series, the Intel 80286,

Learning something new every hour or so.

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
EDGE Tech Corp.
For donating some give-aways for our meetings.