Date: Thu, 18 Jul 2002 22:05:56 +0200 From: Steve Mazerski <smazerski@yahoo.co.jp> To: freebsd-questions@freebsd.org Subject: Q: How big /var ? Or: too small for the xemacs package? Message-ID: <200207182205.56717.smazerski@yahoo.co.jp>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200207182205.56717.smazerski>