Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 May 2002 21:36:25 -0700
From:      "Kevin G. Eliuk" <kg@dccnet.com>
To:        knight <knight@knightstalker.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Mounting an existing file system.
Message-ID:  <3CE72BC9.3000508@dccnet.com>
References:  <00c201c1feec$b36c9820$0100a8c0@screamer>

next in thread | previous in thread | raw e-mail | index | archive | help


knight wrote:
> OK...I Know this has been addressed.  I am just hoping to save time.  I 
> have had to create a new freebsd box.  I have done so and the system is 
> running fine.  I have a drive that had an existing system on it.  I want 
> to mount that drive on the new box.
>  
> Now the question.  How do I mount the old drive when there are no files 
> in /dev to mount with.  I remember doing this once before, and for the 
> life of me I can not remember how to generate the /dev/adxxx file for 
> the existing slices.

as root

# cd /dev
# ./MAKEDEV ad[drive #]

If you need extended drive access

# ./MAKEDEV ad[drive #]s[part. #]a

man MAKEDEV and/or read the top of the MAKEDEV script




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?3CE72BC9.3000508>