From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,1a07a15015fcaba5 X-Google-Attributes: gidfee84,public From: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) Subject: Re: Library size Date: 1995/05/19 Message-ID: <3pj858$oqf@nntpd2.cxo.dec.com>#1/1 X-Deja-AN: 102952181 distribution: world references: <3phpip$ek@www.it.net> organization: Digital Equipment Corporation reply-to: alan@nabeth.cxo.dec.com (Alan Rollow - Dr. File System's Home for Wayward Inodes.) newsgroups: comp.unix.osf.osf1 My apologies if you see two copies of this. I canceled the first, but... In article <3phpip$ek@www.it.net>, Pier Luigi RATTO writes: >I tried to create a library composed of 81 object files (8600 kbytes) with >the following command: > >ar rv lib.a *.o > >I got the following error message: > >/: write failed, file system is full > >but the file system is only 15% occupied. Which file system? Unless you've made root very much larger than usual I don't know of ANY root file system that is only 15% full. And the message *is* telling you which file system filled up. As mentioned by the another poster ar(1) writes temporary files in /tmp. It is also important to realize that ar(1) almost certainly cleans up after itself when it fails. So, while it was using its temporary file, the file system did fill up. Then when it exited, the temporary file was removed and the space freed. Solutions include: 1. Moving /tmp to its own, larger file system (not a bad idea anyway). 2. Taking advantage of the ability (hopefully) of ar(1) to use an alternate temporary directory specified by the environment variable TMPDIR. >Pier Luigi RATTO Ansaldo Trasporti SPA -- Alan Rollow alan@nabeth.cxo.dec.com