public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Bo Ørsted Andresen" <bo.andresen@zlin.dk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Accidentally deleted contents of /sbin
Date: Thu, 16 Nov 2006 17:39:32 +0100	[thread overview]
Message-ID: <200611161739.49711.bo.andresen@zlin.dk> (raw)
In-Reply-To: <c001995e0611160823q354d4cdcr661b0102e13d3043@mail.gmail.com>

[-- Attachment #1: Type: text/plain, Size: 708 bytes --]

On Thursday 16 November 2006 17:23, James Colby wrote:
> I was trying to delete some files from my /sbin directory and with an
> unfortunate use of a wildcard accidentally deleted the entire contents
> on the /sbin directory.  I have recovered the contents of the /sbin
> directory from a stage 3 tarball.  I was thinking about doing an
> emerge world, just to make sure that everything is consistent.  Do you
> all think that this is necessary?

I suppose that remerging packages that install anything in /sbin would be in 
order:

# cd /var/db/pkg && emerge -va1 $(for pkg in */*; do
        cut -d' ' -f2 "${pkg}"/CONTENTS | grep -q '^/sbin/' && echo "=${pkg}"
    done)

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2006-11-16 16:46 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-16 16:23 [gentoo-user] Accidentally deleted contents of /sbin James Colby
2006-11-16 16:28 ` Geistteufel
2006-11-16 16:39 ` Bo Ørsted Andresen [this message]
2006-11-16 22:10   ` James Colby
2006-11-16 22:43     ` Flophouse Joe
2006-11-17  0:11     ` Dale
2006-11-17  0:35       ` Neil Bothwick
2006-11-17  0:35       ` James Colby
2006-11-17  3:17         ` Dale
2006-11-17 10:20         ` Neil Bothwick
2006-11-16 16:40 ` Flophouse Joe
2006-11-16 16:48   ` Flophouse Joe
2006-11-16 16:49   ` Bo Ørsted Andresen
2006-11-16 17:05     ` Flophouse Joe

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200611161739.49711.bo.andresen@zlin.dk \
    --to=bo.andresen@zlin.dk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox