/etc is a good candidate
Posted Aug 6, 2008 21:33 UTC (Wed) by
rickmoen (subscriber, #6943)
In reply to:
/etc is a good candidate by nix
Parent article:
Git Magic
nix wrote:
Storing /etc in git seems like a bad idea to me, as git doesn't preserve
permissions (other than the executable bit), ownership information, hard
links, or any type of file other than regular files and directories.
etckeeper's author (Joey Hess) was well aware of this; that's why it uses metastore to encode that information transparently, so that git can track it.
(etckeeper's integration into Debian/*buntu package management is also a killer advantage, over just checking /etc into an RCS: Changes to /etc resulting from a package operation get checked in automatically.)
Rick Moen
rick@linuxmafia.com
(
Log in to post comments)