=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/Attic/ctm.html,v retrieving revision 1.28 retrieving revision 1.29 diff -u -r1.28 -r1.29 --- www/Attic/ctm.html 2005/05/22 18:00:10 1.28 +++ www/Attic/ctm.html 2006/05/30 02:58:00 1.29 @@ -301,47 +301,6 @@ you will need for generated files during a build, i.e. compiling the sources.

-If you just get the source tree, you will need to deal with local -modifications. One way to do this is to use the union filesystem, -(see mount_union(8)) -although there have been reports that the union filesystem can be -unstable if both the upper and lower layers reside on the same physical -filesystem. If you place your upper and lower layers on separate -filesystems you should have no problems. A sample of this is as follows: - -

-Suppose your CTM-updated tree is in /usr/src-ctm, and -your real source tree, the one you make your modifications to and do -your builds from, is in /usr/src. -/usr/src should be initially an empty directory. The -following command will set up the union mount: - -

-	mount -t union -o -b /usr/src-ctm /usr/src
-
- -

-Modifications made to files in /usr/src will become a -file contained within /usr/src, hiding the one in -src-ctm. If changes are made via CTM to the -underlying src-ctm tree, those changes will not -be seen if there is a file in the upper layer hiding it. - -

-You should periodically unmount the -union and search for files which are local to the union filesystem. - -

-	umount /usr/src
-	find /usr/src -type f
-
- -

-The commands ls -W and rm -W will be -useful too, as objects named "whiteouts" in /usr/src -will also hide files in src-ctm. - -

If you get the CVS repository, you can use the cvs checkout command to check out a source tree from it. Each time you update with CTM you can use the cvs update command to @@ -472,7 +431,7 @@ OpenBSD www@openbsd.org
-$OpenBSD: ctm.html,v 1.28 2005/05/22 18:00:10 matthieu Exp $ +$OpenBSD: ctm.html,v 1.29 2006/05/30 02:58:00 krw Exp $