public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Richard Fish" <bigfish@asmallpond.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Howto recreate files in /dev?
Date: Thu, 20 Jul 2006 23:09:49 -0700	[thread overview]
Message-ID: <7573e9640607202309t12df515fi9e09790b39830b84@mail.gmail.com> (raw)
In-Reply-To: <44C06A71.7070200@mid.email-server.info>

On 7/20/06, Alexander Skwar <listen@alexander.skwar.name> wrote:
> Hello!
>
> Yesterday, I managed to unmount /dev of a running system (which is
> an astonishingly stupid idea... :]). As I didn't know how to recreate
> the files in /dev (I'm using udev), I rebooted the system.
>
> But rebooting can't be the answer ;)
>
> How do I recreate all the dev files?

This should work.  It uses the same mechanism that Gentoo (/sbin/rc)
uses at system boot time.  /dev should *not* be mounted when this is
run:

# (source /sbin/functions.sh ; start_addon udev)

HTH,
-Richard
-- 
gentoo-user@gentoo.org mailing list



  parent reply	other threads:[~2006-07-21  6:22 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-07-21  5:47 [gentoo-user] Howto recreate files in /dev? Alexander Skwar
2006-07-21  6:01 ` Ow Mun Heng
2006-07-21  6:09 ` Dirk Heinrichs
2006-07-21  6:09 ` Richard Fish [this message]
2006-07-21  7:39   ` Alexander Skwar
2006-07-21 16:37     ` Richard Fish

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=7573e9640607202309t12df515fi9e09790b39830b84@mail.gmail.com \
    --to=bigfish@asmallpond.org \
    --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