Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2007 23:25:33 -0600
From:      "illoai@gmail.com" <illoai@gmail.com>
To:        "Don Munyak" <don.munyak@gmail.com>
Cc:        FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: compiling error - /usr : filesystem full
Message-ID:  <d7195cff0702072125v1c7bd696j6cdb762746abf12f@mail.gmail.com>
In-Reply-To: <6207f7d90702070902n5a2aceb3xe6b380b491ae5b64@mail.gmail.com>
References:  <6207f7d90702070902n5a2aceb3xe6b380b491ae5b64@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 07/02/07, Don Munyak <don.munyak@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


-- 
--



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