Thu, 24 Jan 2008 13:52:13 -0500
Joey Hess <[EMAIL PROTECTED]> wrote:

JH> Alexander Gerasiov wrote:
JH> > I'm using the following lines in .gitignore:
JH> > =====
JH> > #lvm autogenerated staff
JH> > lvm/cache
JH> > lvm/backup
JH> > lvm/archive
JH> 
JH> I've thought about adding these. I need to investigate if they're
JH> all just things that lvm stores to save time in scanning the
JH> drives, or if some of it is information that it actually makes
JH> sense to have a backup of. If the latter, it may make sense to keep
JH> it in git.
lvm update this information every time you change lvm partitioning.
When you do so, it stores new configuration in backup and moves old
configuration from backup to archive. On host, where I use lvm
snapshots for every-day backup, I see many of such archives.

Lets see what is backup files: that's just a _copy_ of metadata, which
could be used in some rear cases. E.g. you lost all your lvm's
metadata. Or to restore the same partitioning on new, replaced drive.
Do we need history for it? Yes (e.g. to restore suddenly deleted
volume), but lvm tracks enough copies of old metadata in archive dir.
So keeping them in git don't needed.

And finally cache dir is for temp file where lvm stores some runtime
cache (to not rescan all physical volumes every time user calls lvm).

JH> 
JH> > #twm autogenerated menu
JH> > X11/twm/menudefs.hook
JH> > X11/twm/system.twmrc
JH> 
JH> I don't think that excluding system.twmrc by default is a good idea,
JH> because it could just as easily be a locally modified config file.
I'd looked at it once more. May be you're right. In most cases it
would be autogenerated, but sometimes there really may be local
modifications.

JH> 
JH> I wonder why the menudefs.hook isn't put in /var? A symlink in /etc
JH> would allow twm to find it there if nothing else.
I have no idea. May be we need to file a bug? I do, when have some time.


-- 
Best regards,
 Alexander GQ Gerasiov

 Contacts:
 e-mail:    [EMAIL PROTECTED]             Jabber:  [EMAIL PROTECTED]
 Homepage:  http://gq.net.ru         ICQ:     7272757
 PGP fingerprint: 0628 ACC7 291A D4AA 6D7D  79B8 0641 D82A E3E3 CE1D



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to