/tmp vs. /usr/tmp (System V) - 4.2BSD

jim at haring.UUCP jim at haring.UUCP
Wed Oct 24 07:14:44 AEST 1984


	> >   The main utility that concerns me is
	> >   "sort", which can really eat up temp space.

	> There is an undocumented flag in the System V sort(1) that allows you
	> to specify the directory where it creates its temp files.
	> Try "sort -T /new/temp/dir ...".  I don't know if it exists in
	> other versions of UN*X, and I don't know why it's not documented.

	> -Alan Bland, ihnp4!druxp!mab, AT&T-ISL Denver

'-T' is a documented flag in 4.2BSD. However, the buffer used to hold
the directory name is only 30 bytes long in size, and caused someone
here heartache a while ago.

Jim McKie    Centrum voor Wiskunde en Informatica, Amsterdam    mcvax!jim



More information about the Comp.unix.wizards mailing list