Date: Wed, 29 Mar 2006 00:14:16 -0800 From: Graham North <northg@shaw.ca> To: Erik Norgaard <norgaard@locolomo.org> Cc: "illoai@gmail.com" <illoai@gmail.com>, freebsd-questions@freebsd.org Subject: Re: How to clear userland? Message-ID: <442A41D8.1020001@shaw.ca> In-Reply-To: <442A38DB.4070004@locolomo.org> References: <442A1692.3040805@shaw.ca> <d7195cff0603282249t793f8529r315cdffecb6324a1@mail.gmail.com> <442A38DB.4070004@locolomo.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--Boundary_(ID_AYI0iBw9fq5F7Z3sudFhgw) Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 7BIT 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@gmail.com wrote: > >> On 3/28/06, Graham North <northg@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 --Boundary_(ID_AYI0iBw9fq5F7Z3sudFhgw) Content-type: text/plain; x-avg=cert; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline Content-description: "AVG certification" 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 --Boundary_(ID_AYI0iBw9fq5F7Z3sudFhgw)--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?442A41D8.1020001>