Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Oct 2001 09:34:45 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Mike Silbersack <silby@silby.com>
Cc:        current@FreeBSD.ORG
Subject:   Re: devfs question 
Message-ID:  <10429.1004168085@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 26 Oct 2001 22:15:11 CDT." <20011026220946.X88389-100000@achilles.silby.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20011026220946.X88389-100000@achilles.silby.com>, Mike Silbersack w
rites:
>Quick question for those devfs inclined:
>
>I was just copying my -current box over to a new harddrive.  I do the cp
>-R -p process, and it worked fine, except for one problem:  I tried to
>make my job easier, and decided not to copy /dev over, given that we have
>devfs.  When I rebooted on the new drive, the box froze at the Mounting
>root from: prompt.
>
>It turned out that simply creating a /dev with no files in it solved the
>problem and made devfs happy.
>
>So, my question is this:  Does /dev really need to exist in a devfs world?

Yes, what else would you mount DEVFS on ?

>I assumed not, since procfs doesn't have a pre-existing /proc, but I don't
>know where to look to find out what the correct answer is in this case.

It does.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?10429.1004168085>