compiling error - /usr : filesystem full

illoai at gmail.com illoai at gmail.com
Thu Feb 8 05:25:38 UTC 2007


On 07/02/07, Don Munyak <don.munyak at gmail.com> wrote:
> Hello,
>
> I was recompiling the kernel on my laptop when the process ended with errors.
>
>  /usr : filesystem full
>
> I suspect that the HD is has too many files ??
>
> can I simply remove/delete to ports from /usr/ports and try to recompile?
>
> btw...I have used pkg_add in the past. Will deleting the ports files
> tantamount to deleteing a folder in windows without uninstalling first

By default pkg_add (and installing from ports tree)
records the relevant information in /var/db/pkg/,
deleting /usr/ports will not affect your ability to pkg_add
or pkg_delete (pkg_deinstall?) in the least, though
it will deeply hinder your ability to install from ports.
If you have the option, move /usr/obj to some other
drive, even if not, and assuming you have extra space
on some other partition (if /home is particularly barren),
you can create a directory and symlink it to /usr/obj.

% ls -l /usr
total 44
lrwxr-xr-x   1 root  wheel    16 Feb 10  2006 X11R6 -> /usr/local/X11R6
drwxr-xr-x   2 root  wheel  7168 Jan 17 09:54 bin
drwxr-xr-x   2 root  wheel   512 Feb 10  2006 compat
drwxr-xr-x   2 root  wheel   512 Jan 17 09:48 games
lrwxr-xr-x   1 root  wheel     5 Feb 10  2006 home -> /home
drwxr-xr-x  47 root  wheel  4608 Jan 17 09:46 include
drwxr-xr-x   4 root  wheel  8704 Jan 17 09:54 lib
drwxr-xr-x   5 root  wheel   512 Feb 10  2006 libdata
drwxr-xr-x   5 root  wheel  1536 Jan 17 09:54 libexec
drwxr-xr-x  16 root  wheel   512 Nov 12 17:47 local
lrwxr-xr-x   1 root  wheel     9 Nov  4 11:45 obj -> /home/obj
lrwxr-xr-x   1 root  wheel     6 Feb 10  2006 ports -> /ports
drwxr-xr-x   2 root  wheel  5120 Jan 17 09:54 sbin
drwxr-xr-x  27 root  wheel   512 Feb 10  2006 share
lrwxr-xr-x   1 root  wheel     9 Nov  2 12:13 src -> /home/src
drwxr-xr-x   3 root  wheel   512 Dec 17 16:01 tmp


-- 
--


More information about the freebsd-questions mailing list