Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Oct 2001 02:11:32 -0600
From:      Henrik Hudson <lists@rhavenn.net>
To:        Wayne Lubin <wayneclubin@yahoo.com>, freebsd-questions@FreeBSD.ORG
Subject:   Re: Question regarding /var and /tmp
Message-ID:  <200110310806.f9V86Zl33202@ashram.rhavenn.net>
In-Reply-To: <20011030061114.41767.qmail@web14702.mail.yahoo.com>
References:  <20011030061114.41767.qmail@web14702.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Yes, that works. Make sure to do the actual changes in single usermode 
however, including the mv part.

On Tuesday 30 October 2001 00:11, Wayne Lubin wrote:
>  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

-- 

Henrik Hudson
lists@rhavenn.net


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200110310806.f9V86Zl33202>