Date: Sun, 11 Jun 2000 03:17:21 +0100 From: Mark Ovens <mark@ukug.uk.freebsd.org> To: Tyler Spivey <tyler@wapvi.bc.ca> Cc: freebsd-questions@freebsd.org Subject: Re: /var Message-ID: <20000611031720.P233@parish> In-Reply-To: <200006110204.TAA19789@viper.wapvi.bc.ca>; from tyler@wapvi.bc.ca on Sat, Jun 10, 2000 at 07:04:03PM -0700 References: <200006110204.TAA19789@viper.wapvi.bc.ca>
index | next in thread | previous in thread | raw e-mail
On Sat, Jun 10, 2000 at 07:04:03PM -0700, Tyler Spivey wrote:
> ok, i got to single user.. if i move around /var, how do i copy its contents? if i umount it everything
> disappears so i can't mv it .. what should i do? am i s.o.l?
>
You need to umount(8) /var to delete it and make the link. Copy the
contents before umount(8)'ing it:
# cp -R /var /usr
# umount /var
# rmdir /var
# ln -s /usr/var /var
Don't forget to comment out the /var entry in /etc/fstab
>
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message
--
Want a lean, mean, computing machine?
Get rid of that FAT - install FreeBSD
________________________________________________________________
FreeBSD - The Power To Serve http://www.freebsd.org
My Webpage http://ukug.uk.freebsd.org/~mark/
mailto:mark@ukug.uk.freebsd.org http://www.radan.com
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000611031720.P233>
