From owner-freebsd-questions Sun Sep 24 12:46:57 1995 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id MAA11022 for questions-outgoing; Sun, 24 Sep 1995 12:46:57 -0700 Received: from halloran-eldar.lcs.mit.edu (halloran-eldar.lcs.mit.edu [18.26.0.159]) by freefall.freebsd.org (8.6.12/8.6.6) with SMTP id MAA11017 for ; Sun, 24 Sep 1995 12:46:55 -0700 Received: by halloran-eldar.lcs.mit.edu; (5.65/1.1.8.2/19Aug95-0530PM) id AA11648; Sun, 24 Sep 1995 15:46:51 -0400 Date: Sun, 24 Sep 1995 15:46:51 -0400 From: "Garrett A. Wollman" Message-Id: <9509241946.AA11648@halloran-eldar.lcs.mit.edu> To: Wayne Hernandez Cc: questions Subject: make release without CVS tree In-Reply-To: References: Sender: owner-questions@freebsd.org Precedence: bulk < said: > release rule where Jordan, in a messaged dated 2 Aug 95, said to change the > .if !defined(RELEASETAG) section to tar -cf - -C /usr src | tar -xvf -C > ${CHROOTDIR}/usr. I seem to be getting a tar file called -C in the current > directory. Is this right? That's `tar xvfC - ${CHROOTDIR}/usr'. If your /usr/release is on the same partition as your /usr/src, then you can instead do: cd /usr; find src | cpio -dumpl ${CHROOTDIR}/usr which will create a tree of hard links. And, of course, if /usr/src is on a separate filesystem, then you can do: cd ${CHROOTDIR}/usr/src; dump 0f - /dev/whatever | restore rvf - > Also, how much space should I require for this, as I seem to have only 26 > megs free on a 200 meg partition for /usr/obj, and /usr/obj/release? On my release-building machine, the end-point of a release build for our modified system looks like this: Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/sd0h 643199 393693 198050 67% /usr/release -GAWollman -- Garrett A. Wollman | Shashish is simple, it's discreet, it's brief. ... wollman@lcs.mit.edu | Shashish is the bonding of hearts in spite of distance. Opinions not those of| It is a bond more powerful than absence. We like people MIT, LCS, ANA, or NSA| who like Shashish. - Claude McKenzie + Florent Vollant