Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 May 2001 17:31:22 -0700
From:      Doug Barton <DougB@DougBarton.net>
To:        "Robert T.G. Tan" <rotan@cs.pdx.edu>
Cc:        FreeBSD Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: MAKEDEV, /dev
Message-ID:  <3B0EF95A.55EA81DC@DougBarton.net>
References:  <20010525182042.A7340@cs.pdx.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
"Robert T.G. Tan" wrote:
> 
> Im not clear about the dev entries.. Could I say
> start out with an emtpy /dev directory, after
> rm all device entries in there..

	It would be safer to do something like this:

cd /
mkdir newdev
cd newdev
cp /dev/MAKEDEV .
/bin/sh MAKEDEV all
<follow the steps below for your disks>

cd /
mv dev olddev && mv newdev dev

Then you should be ok. 

> and then do a MAKEDEV like below - as quoted from
> UPDATING..
> 
> To rebuild disk /dev entries
> ----------------------------
> starting the following:
>         For N in the list of disks
>                 MAKEDEV N                       # eg ad0
>                 for M in the list of slices
>                         MAKEDEV NsMa            # eg ad0s1a
> 
> Tnx, rotan.
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
    I need someone really bad. Are you really bad?

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




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