From owner-freebsd-questions Thu Jul 18 15: 4:33 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0EBAE37B400 for ; Thu, 18 Jul 2002 15:04:30 -0700 (PDT) Received: from post.webmailer.de (natpost.webmailer.de [192.67.198.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id B733E43E65 for ; Thu, 18 Jul 2002 15:04:28 -0700 (PDT) (envelope-from smazerski@yahoo.co.jp) Received: from ianb.local (pD9E0EB72.dip.t-dialin.net [217.224.235.114]) by post.webmailer.de (8.9.3/8.8.7) with ESMTP id AAA12494 for ; Fri, 19 Jul 2002 00:04:27 +0200 (MET DST) Content-Type: text/plain; charset="us-ascii" From: Steve Mazerski To: freebsd-questions@freebsd.org Subject: Q: How big /var ? Or: too small for the xemacs package? Date: Thu, 18 Jul 2002 22:05:56 +0200 X-Mailer: KMail [version 1.4] MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Message-Id: <200207182205.56717.smazerski@yahoo.co.jp> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG So, I wanted to install xemacs as a package (xemacs-21.1.14.tgz) and did: bash-2.05a# pkg_add -v -r=20 ftp://source.of.package/pub/FreeBSD/ports/i386/packages-4.6-release/edito= rs/xemacs-21.1.14.tgz which went ok until: (...) extract: /usr/local/lib/xemacs/xemacs-packages/pkginfo/MANIFEST.xslide extract: /usr/local/lib/xemacs/xemacs-packages/pkginfo/MANIFEST.xslt-pr= ocess extract: /usr/local/lib/xemacs/xemacs-packages/pkginfo/MANIFEST.zenirc extract: CWD to . tar: can't add file lib/xemacs/xemacs-packages/lisp/xemacs-devel/Change= Log : =20 No such file or directory tar: can't add file lib/xemacs/xemacs-packages/lisp/xemacs-devel/_pkg.e= l : No such file or directory (much more like this) tar: can't add file lib/xemacs/xemacs-packages/pkginfo/MANIFEST.zenirc = : No such file or directory Running mtree for xemacs-packages-3.0.. mtree -U -f +MTREE_DIRS -d -e -p /usr/local >/dev/null Attempting to record package into /var/db/pkg/xemacs-packages-3.0.. /var: write failed, file system is full mkdir: /var/db/pkg/xemacs-packages-3.0: No space left on device pkg_add: can't record package into '/var/db/pkg/xemacs-packages-3.0', y= ou're on your own! pkg_add: 1 package addition(s) failed Following this the /var partition was reported at a capacity of 109%. A short time later it was down to: bash-2.05a# df -h Filesystem Size Used Avail Capacity Mounted on /dev/ad1s1a 126M 47M 69M 41% / /dev/ad1s1f 3.5G 2.0G 1.2G 64% /usr /dev/ad1s1e 94M 5.8M 81M 7% /var procfs 4.0K 4.0K 0B 100% /proc Following the recommendation here: http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/install-steps.h= tml I made the /var partition a nice bijou 96MB.=20 Questions: - I presume pkg_add puts temporary files in /var. Is this normal / sensib= le? Or does xemacs suffer from exceptional bloat when being added? Can I ex= pect this kind of thing from other packages? - what would be a reasonable ball park figure for /var? - The installation failure has left a lot of "orphaned" files littering m= y file system. Assuming I carry out the installation successfully a secon= d time, these will be overwritten, and could be removed if neccessary wit= h pkg_delete? Yours S.Mazerski "On his own" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message