From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 25 12:49:45 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 76434106564A for ; Wed, 25 Jul 2012 12:49:45 +0000 (UTC) (envelope-from bfalk_bsd@brandonfa.lk) Received: from mail-yw0-f54.google.com (mail-yw0-f54.google.com [209.85.213.54]) by mx1.freebsd.org (Postfix) with ESMTP id 299728FC12 for ; Wed, 25 Jul 2012 12:49:45 +0000 (UTC) Received: by yhfs35 with SMTP id s35so751512yhf.13 for ; Wed, 25 Jul 2012 05:49:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brandonfa.lk; s=google; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type; bh=J3YM2u/10R62hHYm6qBhYk3DarLuFde/H8rH+9YfDP8=; b=J2jPRjj6O9kvE9X1zvQnPTPsw8DZ26+dSBQ6f4tKv8cYOwlKL+NpAjMJMet1nt9ynU 2fNF8oNmMRboIfRo5upFpNNnTNYiX+rIU2PkCjjCGqdlKs2CGaPmzNUSI7qb7uri0Rq6 E046wrkwz9P4gMaIAO7R5URfFHDLXuNJuJBqo= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:x-originating-ip:date:message-id:subject:from:to :content-type:x-gm-message-state; bh=J3YM2u/10R62hHYm6qBhYk3DarLuFde/H8rH+9YfDP8=; b=nRKNWTNtOPHGnXDpDmpi1ROQLm9UCqKP2OMIH4W0njJATnxBHEwZ0ksiYJjJK/a5Kk L3VbHO0MduCGmggapC2RFF5MMWKwj7b8Eu4L52vu8zloaQpONOJWrMSrc58Nzuz5USlV F3Vzxr6FD445AMw3m+XzCXRTxPUMApoMOsoHcyUKCV/bsN9wNfxDdFhZjeQ1tmL755XB 6I+nee3tLQGkkKocDF670ZOS5DMFtuc14uxm5SF2JmGK241KsJnku8cIj6LTvykCpgku XHs+vHteyZnpMkXvSzTRq6qyXSPxG0XKNz2oWauNQQisZHFdE35PwpTkU4niO6BDy1SE KJxA== MIME-Version: 1.0 Received: by 10.42.197.197 with SMTP id el5mr24613850icb.35.1343220584280; Wed, 25 Jul 2012 05:49:44 -0700 (PDT) Received: by 10.231.16.203 with HTTP; Wed, 25 Jul 2012 05:49:44 -0700 (PDT) X-Originating-IP: [72.83.231.212] Date: Wed, 25 Jul 2012 08:49:44 -0400 Message-ID: From: Brandon Falk To: freebsd-hackers@freebsd.org X-Gm-Message-State: ALoCoQnsLvo61An8BvH1fwiyrudVGFotTaWDaqZfg6ak86FEKIaDf+CAC6xmkwXVb253D/I9rrbJ Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Pre-make and Post-make scripts X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Jul 2012 12:49:45 -0000 I'm curious as to how the best way of having a script run before and after make would be done. Would this require modification of the FreeBSD make template, or is this functionality already built in? The goal of this is to set up a script that prior to a build sends up a filesystem in ram (tmpfs) for the build to occur in, and afterwards saves the filesystem from ram onto the actual disk for backup/archiving. We all know that our poor disks could use a little break from the strain of build processes. -Brandon