public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] Deleted /var/lib/portage/config
@ 2006-09-01  6:59 David Grant
  2006-09-01  9:51 ` Erik
  0 siblings, 1 reply; 3+ messages in thread
From: David Grant @ 2006-09-01  6:59 UTC (permalink / raw
  To: gentoo-user

I accidentally deleted /var/lib (I meant to delete /var/lib/mysql).
The only damage seems to be the deletion of /var/lib/portage/config
and /var/lib/portage/mysql

I'm not worried about world, I can easiliy fix that over time by
running emerge -p --depclean and adding world entries. There are
probably only about 10 packages anyways because this is a mythtv box.

But what is config all about? On my other machine it looks like the
file contains a bunch of hashes for config files in /etc/. Are these
used to quickly see if a file in /etc/ is different or does it just do
a diff?

-- 
David Grant
http://www.davidgrant.ca
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Deleted /var/lib/portage/config
  2006-09-01  6:59 [gentoo-user] Deleted /var/lib/portage/config David Grant
@ 2006-09-01  9:51 ` Erik
  2006-09-01 10:08   ` David Grant
  0 siblings, 1 reply; 3+ messages in thread
From: Erik @ 2006-09-01  9:51 UTC (permalink / raw
  To: gentoo-user

David Grant wrote:
> But what is config all about? On my other machine it looks like the
> file contains a bunch of hashes for config files in /etc/. Are these
> used to quickly see if a file in /etc/ is different or does it just do
> a diff?

It looks like the numbers I get when running "md5sum <filename>", at 
least for files that I have not modified or deleted. "man portage" 
mentions files that portage uses, but not /var/lib/portage/config. It is 
either because the file is not meant to be edited by the administrator 
or a documentation bug.
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] Deleted /var/lib/portage/config
  2006-09-01  9:51 ` Erik
@ 2006-09-01 10:08   ` David Grant
  0 siblings, 0 replies; 3+ messages in thread
From: David Grant @ 2006-09-01 10:08 UTC (permalink / raw
  To: gentoo-user

I noticed that my /var/lib/portage/config file is not getting
populated with new entries anymore, although it did get created by
some program. Very strange...

David

On 9/1/06, Erik <sigra@home.se> wrote:
> David Grant wrote:
> > But what is config all about? On my other machine it looks like the
> > file contains a bunch of hashes for config files in /etc/. Are these
> > used to quickly see if a file in /etc/ is different or does it just do
> > a diff?
>
> It looks like the numbers I get when running "md5sum <filename>", at
> least for files that I have not modified or deleted. "man portage"
> mentions files that portage uses, but not /var/lib/portage/config. It is
> either because the file is not meant to be edited by the administrator
> or a documentation bug.
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
David Grant
http://www.davidgrant.ca
-- 
gentoo-user@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-09-01 10:13 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-01  6:59 [gentoo-user] Deleted /var/lib/portage/config David Grant
2006-09-01  9:51 ` Erik
2006-09-01 10:08   ` David Grant

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox