Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jun 2000 22:13:10 -0400
From:      John <papalia@udel.edu>
To:        Tyler Spivey <tyler@wapvi.bc.ca>, freebsd-questions@FreeBSD.ORG
Subject:   Re: /var
Message-ID:  <4.3.1.2.20000610221109.00ab8470@mail.udel.edu>
In-Reply-To: <200006110204.TAA19789@viper.wapvi.bc.ca>

next in thread | previous in thread | raw e-mail | index | archive | help

>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?

Instead of mv, try:
umask 0000
cp -Rp /var/* /usr/var

That should copy over all files without changing their permissions.

Then umount it and do whatever you want with it (assuming you want to 
remove the filesystem and then create a symlink from /var to /usr/var ?)

Good luck,
John



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?4.3.1.2.20000610221109.00ab8470>