From owner-freebsd-questions Mon Oct 29 22:11:19 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web14702.mail.yahoo.com (web14702.mail.yahoo.com [216.136.224.119]) by hub.freebsd.org (Postfix) with SMTP id E99F537B401 for ; Mon, 29 Oct 2001 22:11:14 -0800 (PST) Message-ID: <20011030061114.41767.qmail@web14702.mail.yahoo.com> Received: from [64.131.161.101] by web14702.mail.yahoo.com via HTTP; Mon, 29 Oct 2001 22:11:14 PST Date: Mon, 29 Oct 2001 22:11:14 -0800 (PST) From: Wayne Lubin Subject: Question regarding /var and /tmp To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG My system is currently set up with only the two file systems / and /usr. I have a few gigs of spare disk space that I want to slice up into the /var and the /tmp file systems. But of course I have been using my system for a while and so my current /var and /tmp directories, which are sitting in the / directory taking up space, have stuff in them. I am assuming that I can't just mount the /var and /tmp slices that I want to create because then it would conflict with the current /var and /tmp directories. So my first question is, am I correct in this assumption? So assuming my assumption is correct, I want to run past you what I am planning to do to pull this off. What I am planning is to create the two slices but not mount them as /tmp and /var. Maybe mount them as say /tmp1 and /var1. And then once my system is booted, mv everything from /tmp into /tmp1 and everything from /var into /var1. Finaly delete /var and /tmp and make changes to fstab to load /tmp1 as /tmp and load /var1 as /var. So is this the way to do it? Thanks for your help. Wayne __________________________________________________ Do You Yahoo!? Make a great connection at Yahoo! Personals. http://personals.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message