sorting a BIG file (solved)

Mike Schmelzer mjs at behemoth.genetics.wisc.edu
Sun Apr 28 09:23:45 AEST 1991


Okay, here's what was going on:

sort(1) tries to use /usr/tmp (which is on /) instead
of /tmp (which I had doinked around with so that it was
on /mnt/bigpartition). Why sort does is is a mystery to
me. Fortunately, sort takes a -T argument, which allows
you to specify where to put sort's scratchfiles.

So, all'z I had to do was sort -T /mnt/bigpartition/scratch,
and it worked like a charm.

Here endeth the lesson.

--
==== Mike Schmelzer, UW Genetix, mjs at genetics.wisc.edu, (608)263-7459. ===
========= Schmelzer's Law: You can have anything you don't want. =========
================ "How can hatred uplift a race?" - 3rd Bass ==============



More information about the Comp.unix.questions mailing list