How to clear userland?
Graham North
northg at shaw.ca
Wed Mar 29 08:14:07 UTC 2006
Hi Erik:
mtree eh? I had to man that one... and I will obviously have to read
it again - properly. Any chance of asking for a bit of perspective on
the command from you? If not, no big deal I will do a bit some
background reading.
Thanks, Graham/
Erik Norgaard wrote:
> illoai at gmail.com wrote:
>
>> On 3/28/06, Graham North <northg at shaw.ca> wrote:
>>
>>> Is there a nice tidy way to clear my userland - CLEAN without
>>> jeopardizing or reloading the OS?
>>
>>
>> pkg_delete -a
>> should get rid of anything not in the base system.
>> alternately, deleting /usr/local and /usr/X11R6 will
>> remove it pretty quickly, as well. though one would
>> have to check for things started in /etc/rc.conf
>
>
> Variables set in rc.conf refering to nonexistent programs have no
> effect. But if you delete /usr/local and /usr/X11R6 you'll mess up the
> package database. Clean it by deleting content of /var/db/pkg also.
> Recreate the /usr/local and /usr/X11R6 using mtree.
>
> Cheers, Erik
--
Kindness can be infectious - try it.
Graham North
Vancouver, BC
www.soleado.ca
-------------- next part --------------
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.3.2/294 - Release Date: 3/27/2006
More information about the freebsd-questions
mailing list