From owner-freebsd-questions Fri Aug 11 9: 2:18 2000 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (zoom0-232.telepath.com [216.14.0.232]) by hub.freebsd.org (Postfix) with SMTP id 4D6FA37BFB2 for ; Fri, 11 Aug 2000 09:02:14 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 71777 invoked by uid 100); 11 Aug 2000 16:01:36 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14740.9056.456422.948160@guru.mired.org> Date: Fri, 11 Aug 2000 11:01:36 -0500 (CDT) To: "Justin C. Sherrill" Cc: questions@freebsd.org Subject: moving /var In-Reply-To: <81018459@toto.iv> X-Mailer: VM 6.72 under 21.1 (patch 10) "Capitol Reef" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Justin C. Sherrill writes: > What should I be doing to get /usr/var to be only a directory in the (much > larger) /var, without mangling my computer again? Shut down to single user mode (just to make sure nothing muck with /usr/var while you're mucking with it), then do the standard thing one does to move a directory full of stuff: # mkdr /var/usr # (cd /usr/var; tar cf - .) | (cd /var/usr; tar xpf -) # rm -rf /usr/var And finally provide a symlink so that old programs can find the new location: # ln -s /var/usr /usr/var However, I note that my -current system doesn't have a /usr/var, nor does the hier man page talk about it. You might check what's in it to see if you really need it.