On 5/14/05, Grant <[EMAIL PROTECTED]> wrote:
> Hello, I meant to execute 'rm -rf var' but I hit 'rm -rf /var'
> instead.  I realized my mistake after about 6 or 7 seconds when it was
> taking too long and I hit Ctrl+C.  Everything looks OK, but something
> must be gone.  What would you guys do in this situation?

Restore from a backup? :-)
As you are posting here, I guess that's not an option.
You are probably missing the big directories /var/db and /var/tmp.
/var/db is (at least it seems) where information about each emerged
package lies. I'm not sure which trouble you will pass without those.
Perhaps someone may enlighten you more than I.
/var/tmp is where portage compiles packages, and can be safely
deleted. I don't know about the directory structure though. Perhaps
reemerging some packages like baselayout would reconstruct them.

-- 
Bruno Lustosa, aka Lofofora          | Email: [EMAIL PROTECTED]
Network Administrator/Web Programmer | ICQ: 1406477
Rio de Janeiro - Brazil              |

-- 
gentoo-user@gentoo.org mailing list

Reply via email to