Re: Need to version control entire root file system

"Ben West" <[email protected]> Mon, 28 Jan 2008 09:07:21 -0700
Newsgroups gmane.comp.version-control.arch.user
Message-ID <[email protected]>
--===============1931725191==
Content-Type: multipart/alternative; 
	boundary="----=_Part_8551_28902191.1201536441501"

------=_Part_8551_28902191.1201536441501
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hypothetically, you could mount another file system over root using union-fs
and see that the arch meta-data lived in the mounted version instead of the
original (e.g. the arch meta-files would exist in a ghost directory
somewhere, pehaps, less visible to the system.

you would mount root as usual
in a subdirectroy, you would remount root (readonly)
then mount another arch-metadata directory over top (writeable)
so that any changes to the metadata would be written to the seocnd directory
-- then for updates/syncs, etc you would sync/update the union file system

I'd consider reading up on unionfs to see if this will work for you.


Also, I think the latest version of reiser supports version control build
in.

On Jun 22, 2007 10:18 AM, Worley, Chris B <[email protected]> wrote:

> Not user's home directories, but everything else; and no version control
> meta-data cruft left lying around inside my image.
>
> The base "image" is kept offline.  I want to version control changes to
> every file and directory in that offline image.
>
> Ascii files need explicit diffs, binary files can just be flagged as
> changed.  I need to be able to view which files changed at any check-in
> point, what files are different now from the last check-in, how the
> ASCII files changed between any two versions, and roll-back the entire
> image to any previous version.
>
> Mostly, I need the diff repository to be outside the image; I don't want
> hidden version control directories in every directory of my file
> system... I need the version control meta-data kept elsewhere (this
> image gets provisioned onto systems).
>
> Will Arch do this?  If not, can anybody recommend a good version control
> utility (or maybe one that is extensible) for this?
>
> Note that I use "image" to mean "root file system", and not a disk image
> per se; something you could chroot to.
>
> Thanks,
>
> Chris
>
>
> _______________________________________________
> Gnu-arch-users mailing list
> [email protected]
> http://lists.gnu.org/mailman/listinfo/gnu-arch-users
>
> GNU arch home page:
> http://savannah.gnu.org/projects/gnu-arch/
>

------=_Part_8551_28902191.1201536441501
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hypothetically, you could mount another file system over root using union-fs and see that the arch meta-data lived in the mounted version instead of the original (e.g. the arch meta-files would exist in a ghost directory somewhere, pehaps, less visible to the system.<br>
<br>you would mount root as usual <br>in a subdirectroy, you would remount root (readonly)<br>then mount another arch-metadata directory over top (writeable)<br>so that any changes to the metadata would be written to the seocnd directory -- then for updates/syncs, etc you would sync/update the union file system<br>
<br>I&#39;d consider reading up on unionfs to see if this will work for you.&nbsp; <br><br><br>Also, I think the latest version of reiser supports version control build in.<br><br><div class="gmail_quote">On Jun 22, 2007 10:18 AM, Worley, Chris B &lt;<a href="mailto:[email protected]">[email protected]</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Not user&#39;s home directories, but everything else; and no version control<br>meta-data cruft left lying around inside my image.<br>
<br>The base &quot;image&quot; is kept offline. &nbsp;I want to version control changes to<br>every file and directory in that offline image.<br><br>Ascii files need explicit diffs, binary files can just be flagged as<br>changed. &nbsp;I need to be able to view which files changed at any check-in<br>
point, what files are different now from the last check-in, how the<br>ASCII files changed between any two versions, and roll-back the entire<br>image to any previous version.<br><br>Mostly, I need the diff repository to be outside the image; I don&#39;t want<br>
hidden version control directories in every directory of my file<br>system... I need the version control meta-data kept elsewhere (this<br>image gets provisioned onto systems).<br><br>Will Arch do this? &nbsp;If not, can anybody recommend a good version control<br>
utility (or maybe one that is extensible) for this?<br><br>Note that I use &quot;image&quot; to mean &quot;root file system&quot;, and not a disk image<br>per se; something you could chroot to.<br><br>Thanks,<br><br>Chris<br>
<br><br>_______________________________________________<br>Gnu-arch-users mailing list<br><a href="mailto:[email protected]">[email protected]</a><br><a href="http://lists.gnu.org/mailman/listinfo/gnu-arch-users" target="_blank">http://lists.gnu.org/mailman/listinfo/gnu-arch-users</a><br>
<br>GNU arch home page:<br><a href="http://savannah.gnu.org/projects/gnu-arch/" target="_blank">http://savannah.gnu.org/projects/gnu-arch/</a><br></blockquote></div><br>

------=_Part_8551_28902191.1201536441501--



--===============1931725191==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline