From owner-freebsd-questions@FreeBSD.ORG Fri Jan 9 11:40:54 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6503E106564A for ; Fri, 9 Jan 2009 11:40:54 +0000 (UTC) (envelope-from pstreem@gmail.com) Received: from mail-bw0-f20.google.com (mail-bw0-f20.google.com [209.85.218.20]) by mx1.freebsd.org (Postfix) with ESMTP id B4A8C8FC17 for ; Fri, 9 Jan 2009 11:40:53 +0000 (UTC) (envelope-from pstreem@gmail.com) Received: by bwz13 with SMTP id 13so2327729bwz.19 for ; Fri, 09 Jan 2009 03:40:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type:references; bh=aHuCrDV384rNYNBG9mYknwdl6UPSUu4Fbra8OYqE1rM=; b=pM08r4dtcVJlkTIxV5Sk/zX/t8LT2/e5vbcg33G5rEfuArocEnkSgJcp5FMzQ2Wmkk LUo9nFmU/4dwigjQ5KmjuxnAaGMTu40MeK5xmFeP6/Xq1owKn48vY+U5wyed5Q5rZFsZ ACz0tFeefS9mHD0jzzzNRT5WavaHUDrmOf2Ms= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:references; b=AO809zvUBOPJRrdIVcHLlPeXDuxw+/ee/7SMeB8SHd8in+1am5x+Uv5Fpueeu7I0qy u1nXWp9sj+xVGFkz0fWwX2l+70Ggbrc+l6mFrjycvE0nVqBIYqDXiuNLDh/j6PTdHz7f 14aVa+DwcNU73dz+nFLHwkt5fS1nSg9iTTBFs= Received: by 10.103.49.12 with SMTP id b12mr9147661muk.98.1231501252476; Fri, 09 Jan 2009 03:40:52 -0800 (PST) Received: by 10.103.251.11 with HTTP; Fri, 9 Jan 2009 03:40:52 -0800 (PST) Message-ID: <2c66535d0901090340y473ce9dcj74ae2a44e5cc0789@mail.gmail.com> Date: Fri, 9 Jan 2009 19:40:52 +0800 From: "PstreeM China" To: chris.scott In-Reply-To: <49672373.3020704@snaffler.net> MIME-Version: 1.0 References: <2c66535d0901082253k5b8ff098w73234a1944929929@mail.gmail.com> <20090109105458.I8836@wojtek.tensor.gdynia.pl> <49672373.3020704@snaffler.net> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Wojciech Puchar , Free BSD Questions list Subject: Re: how to use the MFS ? 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: Fri, 09 Jan 2009 11:40:54 -0000 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 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 >