Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Sep 1998 19:46:01 +0800
From:      chas <panda@peace.com.my>
To:        larry_nilsen <larry_nilsen@eee.org>, <freebsd-questions@FreeBSD.ORG>
Subject:   Re: /usr: write failed,file system full
Message-ID:  <3.0.32.19980927194601.00e37bf8@mail.peace.com.my>

next in thread | raw e-mail | index | archive | help
At 00:01 27/09/98 -0700, larry_nilsen wrote:
>hi i have FREEBSD 2.2.7 on my 600mb partition.when i installed FREEBSD
>i went ahead and installed everything.

what is *everything* ? the source files ? X windows too ? 

>And im finding out that my /usr is full
>this is what it looks like on my file system.
>file system      1k-blocks    used      avail   capacity mounted on
>/dev/wd0s2f      367823       346010    -7612   102%     /
>
>now im still learning just some of the commands so far 
>"but" this seems to me this is way over full.

>could you explain to me in detail what i can safely
>delete so i can free up the /usr  "please" give me details. 

let A = all the software you want to run.
let B = all the software installed.

you can delete B-A

yes, that's not much use but i don't think anyone can really tell
you what you can safely delete without knowing what you have 
installed, and what you (don't) want to run.

try the following commands :
pkg_info -a
pkg_delete

to sort out your packages.

To be perfectly honest, I'd start over again and this time don't
install the stuff you don't need. ie. if you're not a developer,
don't bother with the source. if you don't need X windows, don't
install it. FreeBSD is such a breeze to install that it's quicker
to reinstall from scratch than muck about with your files, deleting
from here and there.

>So far i
>havent
>been able to figure out how to login as root. 

How did you get the df output then ?
Or find out the filesystem was full ?
If you have the root passwd (which you did set when installing, 
didn't you ?), then you can log in as root. 

>ive read where i need to
>edit
> the wheel line etc. but i havent the faintest idea how to do this
>either.

If you mean to allow yourself to telnet in as another user then
su to root, add the username to the /etc/group file under wheel.
eg. wheel:*:0root,larry

chas

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?3.0.32.19980927194601.00e37bf8>