How to clear userland?

Graham North northg at shaw.ca
Wed Mar 29 16:42:55 UTC 2006


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


-------------- next part --------------
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


More information about the freebsd-questions mailing list