From owner-freebsd-questions@FreeBSD.ORG Wed Mar 29 16:42:55 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1F0C116A422 for ; Wed, 29 Mar 2006 16:42:55 +0000 (UTC) (envelope-from northg@shaw.ca) Received: from pd4mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 836E343D82 for ; Wed, 29 Mar 2006 16:42:46 +0000 (GMT) (envelope-from northg@shaw.ca) Received: from pd4mr1so.prod.shaw.ca (pd4mr1so-qfe3.prod.shaw.ca [10.0.141.212]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IWW00IFYEDFYXC0@l-daemon> for freebsd-questions@freebsd.org; Wed, 29 Mar 2006 09:41:39 -0700 (MST) Received: from pn2ml5so.prod.shaw.ca ([10.0.121.149]) by pd4mr1so.prod.shaw.ca (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IWW00FUNEDF2890@pd4mr1so.prod.shaw.ca> for freebsd-questions@freebsd.org; Wed, 29 Mar 2006 09:41:39 -0700 (MST) Received: from [192.168.1.101] ([24.85.136.31]) by l-daemon (Sun ONE Messaging Server 6.0 HotFix 1.01 (built Mar 15 2004)) with ESMTP id <0IWW0025NEDF2JJ0@l-daemon> for freebsd-questions@freebsd.org; Wed, 29 Mar 2006 09:41:39 -0700 (MST) Received: from 127.0.0.1 (AVG SMTP 7.1.385 [268.3.3/296]); Wed, 29 Mar 2006 08:41:51 -0800 Date: Wed, 29 Mar 2006 08:41:50 -0800 From: Graham North In-reply-to: <442A446F.4040707@locolomo.org> To: Erik Norgaard Message-id: <442AB8CE.6050303@shaw.ca> MIME-version: 1.0 Content-type: multipart/mixed; boundary="Boundary_(ID_FEW2FbgJtg96Xa/WgywPAw)" X-Accept-Language: en-us, en References: <442A1692.3040805@shaw.ca> <442A38DB.4070004@locolomo.org> <442A41D8.1020001@shaw.ca> <442A446F.4040707@locolomo.org> User-Agent: Mozilla Thunderbird 1.0.7 (Windows/20050923) X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: "illoai@gmail.com" , freebsd-questions@freebsd.org Subject: Re: How to clear userland? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2006 16:42:55 -0000 --Boundary_(ID_FEW2FbgJtg96Xa/WgywPAw) Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 7BIT Hi Erik - thank you again. I will explore. Cheers, Graham/ Erik Norgaard wrote: > Graham North wrote: > >> 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. > > > you do something like this to rebuild the directory structure of > /usr/local: > > mtree -U -f /etc/mtree/bsd.local.dist -p /usr > > Two things to note: I'm on 6.0, you may have a different -f argument. > I don't if the -p argument should be /usr/local, I don't think so. > Anyway, you can test and see what happens using -p /tmp that should > create something in /tmp that you can then just delete. > > I know on 6.x that mtree is run on 'make installworld' to update the > directory base tree, but I'm not sure if it is run for /usr/local and > /usr/X11R6 since these are not part of base. For 4.x I don't remember. > > Cheers, Erik -- Kindness can be infectious - try it. Graham North Vancouver, BC www.soleado.ca --Boundary_(ID_FEW2FbgJtg96Xa/WgywPAw) 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.3/296 - Release Date: 3/29/2006 --Boundary_(ID_FEW2FbgJtg96Xa/WgywPAw)--