Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Jan 2002 16:20:46 -0500
From:      Paul Murphy <pnmurphy@cogeco.ca>
To:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Message-ID:  <20020106162046.2dfa4beb.pnmurphy@cogeco.ca>

next in thread | raw e-mail | index | archive | help
/dev/da1s1f    663553     2764   607705     0%    /usr/home
/dev/da1s1e    192543   183627    -6487   104%    /usr/ports

 I want to switch these two filesystems, here is my plan:

1) back them up to /usr/tmp
2) rm -r /usr/home && rm -r /usr/ports
3) edit the fstab appropriately
4) umount /usr/home && umount /usr/ports
5) mount /usr/home && mount /usr/ports
6) cp -r /usr/tmp/home/* /usr/home && cp -r /usr/tmp/ports/* /usr/ports

 Does this seem right? Any gotcha's? I don't want to loose any data as
these are fairly important filesystems (although I could cvsup ports).

-- 
 I call it "No-Pants Wonderday," but it turns out the police just call it
"Thursday." Go figure.

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?20020106162046.2dfa4beb.pnmurphy>