Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Jul 1997 10:50:56 -0700 (PDT)
From:      jeffe@ichips.intel.com
To:        freebsd-gnats-submit@FreeBSD.ORG
Subject:   ports/4015: package linux_lib-2.4 can run / out of disk space
Message-ID:  <199707021750.KAA16889@hub.freebsd.org>
Resent-Message-ID: <199707021800.LAA17159@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         4015
>Category:       ports
>Synopsis:       package linux_lib-2.4 can run / out of disk space
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul  2 11:00:01 PDT 1997
>Last-Modified:
>Originator:     Jeff Eaton
>Organization:
Intel Corporation
>Release:        2.2.2-RELEASE
>Environment:
FreeBSD pdxnm00.jf.intel.com 2.2.2-RELEASE FreeBSD 2.2.2-RELEASE #1: Fri Jun 27 16:59:55 PDT 1997     root@pdxnm00.jf.intel.com:/usr/src/sys/compile/NETM  i386

>Description:
I like to have a small / filesystem for various reasons, such as
keeping a replicated version on another disk for emergency use.

I recently tried to install the package linux_lib-2.4.  Much to
my annoyance, it ran / out of disk space.  In poking around, I
found that it was putting a lot of stuff in /compat, a directory
that didn't exist before.

I try to allocate disk space well, using the man page hier(7) for
guidance.  My feeling is that packages and ports should follow
it as well, and especially should not create new directories in /
and then fill them up with lots of stuff.
>How-To-Repeat:
# df /
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/wd0a       31775    16454    12779    56%    /
# ls -l /compat
ls: /compat: No such file or directory
# /stand/sysinstall
[install linux_lib-2.4]
/: write failed, file system is full
[repeated many times]
# df /
Filesystem  1K-blocks     Used    Avail Capacity  Mounted on
/dev/wd0a       31775    31775    -2542   109%    /
# ls -l /compat 
total 1
drwx------  8 root  wheel  512 Jul  2 10:21 linux
# du -s /compat
15337   /compat
# pkg_delete linux_lib-2.4
File `/compat/linux/var/X11R6/lib/nls/local_im_tbl/lt_LN.bit7' doesn't really ex
ist.
File `/compat/linux/var/X11R6/lib/nls/local_im_tbl/lt_LN.bit8' doesn't really ex
ist.
Attempting to delete directory `/compat/linux/usr/X11R6/lib/X11' as a file
This packing list is incorrect - ignoring delete request.

File `/compat/linux/usr/lib/librle.so.1' doesn't really exist.
File `/compat/linux/usr/lib/libppm.so.1' doesn't really exist.
File `/compat/linux/usr/lib/libpnm.so.1' doesn't really exist.
File `/compat/linux/usr/lib/libpgm.so.1' doesn't really exist.
File `/compat/linux/usr/lib/libpbm.so.1' doesn't really exist.
File `/compat/linux/usr/lib/libjpeg.so.6' doesn't really exist.
File `/compat/linux/usr/lib/libz.so.1' doesn't really exist.
File `/compat/linux/usr/lib/libvgagl.so.1' doesn't really exist.
File `/compat/linux/usr/lib/libvga.so.1' doesn't really exist.
File `/compat/linux/usr/lib/libpng.so.1' doesn't really exist.
File `/compat/linux/usr/lib/libstdc++.so.27' doesn't really exist.
File `/compat/linux/usr/lib/libg++.so.27' doesn't really exist.
File `/compat/linux/usr/lib/libf2c.so.0' doesn't really exist.
File `/compat/linux/usr/lib/libform.so.3.0' doesn't really exist.
File `/compat/linux/usr/lib/libmenu.so.3.0' doesn't really exist.
File `/compat/linux/usr/lib/libncurses.so.3.0' doesn't really exist.
File `/compat/linux/usr/lib/libpanel.so.3.0' doesn't really exist.
File `/compat/linux/usr/lib/libtcl.so' doesn't really exist.
File `/compat/linux/usr/lib/libtk.so' doesn't really exist.
File `/compat/linux/usr/lib/libgdbm.so.2' doesn't really exist.
File `/compat/linux/usr/lib/libstdc++.so.26' doesn't really exist.
File `/compat/linux/usr/lib/libg++.so.26' doesn't really exist.
Attempting to delete directory `/compat/linux/usr/X11' as a file
This packing list is incorrect - ignoring delete request.

Attempting to delete directory `/compat/linux/usr/X386' as a file
This packing list is incorrect - ignoring delete request.

Unable to completely remove directory '/compat/linux/var/X11R6/lib/locale/tbl_da
ta'
Unable to completely remove directory '/compat/linux/var/X11R6/lib/locale'
Attempting to delete file `/compat/linux/var/X11R6/lib/nls/local_im_tbl' as a di
rectory
This packing list is incorrect - ignoring delete request.

Unable to completely remove directory '/compat/linux/var/X11R6/lib/nls'
Unable to completely remove directory '/compat/linux/var/X11R6/lib'
Unable to completely remove directory '/compat/linux/var/X11R6'
Unable to completely remove directory '/compat/linux/var'
Couldn't entirely delete package (perhaps the packing list is
incorrectly specified?)
# du -s /compat
27      /compat

>Fix:
put it in /usr/local/lib/linux, or even /usr/local/compat; anywhere
but /
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199707021750.KAA16889>