Xref: utzoo comp.unix.questions:5769 comp.sys.att:2569 Path: utzoo!mnetor!uunet!husc6!uwvax!oddjob!hao!noao!mcdsun!dragon!charles From: charles@dragon.UUCP (Charles Wolff) Newsgroups: comp.unix.questions,comp.sys.att Subject: Re: NO SPACE Error message Message-ID: <774@dragon.UUCP> Date: 22 Feb 88 22:00:15 GMT References: <225@mccc.UUCP> <1733@rtech.UUCP> Reply-To: charles@dragon.UUCP (Charles Wolff, 602 438-3432) Organization: Motorola Microcomputer Division, Tempe, Az. Lines: 22 Keywords: 3b2/400, SysVr3.0 In article <1733@rtech.UUCP> russ@llama.UUCP (Russ Spence) writes: >In article <225@mccc.UUCP> pjh@mccc.UUCP (Peter J. Holsberg) writes: >>Last night in lab, I had about 12 users compiling small C programs -- >>maybe 30 lines each --, and I started to get "no space on disk 0 > > /tmp is used by the compiler to store temporary files. When > compiling a very large file (or many small files) you run out > of space on / because of the amount of space used in /tmp for > C compilations. You should probably increase the size of > / (or move /tmp to another file system, or its own file system). A simpler solution may be to have your users set the $TMPDIR environment variable in their .profiles - at least on our machine, "cc" recognizes this env var and puts your temporary files in the directory you specify. If /tmp is overloaded, you can put temp files in /usr/tmp, /usr2/dogstuff, or whereever there is space... check the manual for your system to see if there's a similar env var you can use... -- Thus the unfacts, did we possess them, are too| Charles Wolff imprecisely few to warrant our certitude... | Motorola Microsystems -James Joyce, Finnegan's Wake | Tempe, AZ (602) 438-3432