Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Jan 2009 19:40:52 +0800
From:      "PstreeM China" <pstreem@gmail.com>
To:        chris.scott <krad@snaffler.net>
Cc:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>, Free BSD Questions list <freebsd-questions@freebsd.org>
Subject:   Re: how to use the MFS ?
Message-ID:  <2c66535d0901090340y473ce9dcj74ae2a44e5cc0789@mail.gmail.com>
In-Reply-To: <49672373.3020704@snaffler.net>
References:  <2c66535d0901082253k5b8ff098w73234a1944929929@mail.gmail.com> <20090109105458.I8836@wojtek.tensor.gdynia.pl> <49672373.3020704@snaffler.net>

next in thread | previous in thread | raw e-mail | index | archive | help
i think the option WRKDIRPREFIX  is a good idea , and i whill test the
methon unionfs.

but i want to know , after i mount the unionfs , like this :#mount -t
unionfs  /usr/ports /usr/ports.real
the /usr/ports is  memery FS, what can i used to install software ??
go to the dir : /usr/ports/**/** to install ,
or go to dir dir : /usr/ports.real/*/* to install ??

thank all!!

On Fri, Jan 9, 2009 at 6:14 PM, chris.scott <krad@snaffler.net> wrote:

> Wojciech Puchar wrote:
>
>> hi all:
>>>
>>>     i want to know ,how to compile better speed during the installation
>>> of
>>> Ports , use the memery filesystem(MFS) ..
>>>
>>>     during make world , mount the md0 to /usr/obj , but what can i do for
>>>
>>
>> better use tmpfs
>>
>>  the port ?
>>>
>>
>> rm -rf /usr/ports/
>> mkdir /usr/ports
>> mount -t tmpfs tmpfs /usr/ports
>> portsnap extract
>>
>> now build
>> _______________________________________________
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to "
>> freebsd-questions-unsubscribe@freebsd.org"
>>
>>  quicker to do
>
>
> mv /usr/ports /usr/ports.real
> mkdir /usr/ports
> mount -t tmpfs tmpfs /usr/ports
> mount -t unionfs -o noatime /usr/ports /usr/ports.real
>
>
> of cause tmpfs can actually start using disk space unlike a md device so if
> you eat up to much ram with the compiles it will slow down
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2c66535d0901090340y473ce9dcj74ae2a44e5cc0789>