From owner-freebsd-questions Sat Aug 10 16:16:46 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1C74B37B400 for ; Sat, 10 Aug 2002 16:16:44 -0700 (PDT) Received: from anchor-post-32.mail.demon.net (anchor-post-32.mail.demon.net [194.217.242.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8207F43E3B for ; Sat, 10 Aug 2002 16:16:43 -0700 (PDT) (envelope-from jeff@jrpenn.demon.co.uk) Received: from jrpenn.demon.co.uk ([194.222.241.254] helo=jrpenn) by anchor-post-32.mail.demon.net with esmtp (Exim 3.35 #1) id 17dfTN-000E2T-0W for freebsd-questions@freebsd.org; Sun, 11 Aug 2002 00:16:42 +0100 Received: from jeff by jrpenn with local (Exim 3.35 #1 (Debian)) id 17dgMf-0000Lk-00 for ; Sun, 11 Aug 2002 01:13:49 +0100 Date: Sun, 11 Aug 2002 01:13:49 +0100 To: freebsd-questions@freebsd.org Subject: Re: Fixit CD paradox: making device nodes Message-ID: <20020811001349.GA1322@jrpenn.demon.co.uk> Mail-Followup-To: freebsd-questions@freebsd.org References: <20020810170930466.AAA332@empty1.ekahuna.com@dyn205.ekahuna.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20020810170930466.AAA332@empty1.ekahuna.com@dyn205.ekahuna.com> User-Agent: Mutt/1.4i From: Jeff Penn Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Aug 10, 2002 at 10:09:34AM -0700, Philip J. Koenig wrote: > Every time I try to use the Fixit CD to fix a problem with a disk I > run into the same problem: I can't mount the disk because the device > nodes are missing (ie ad0s1a), but I can't create device nodes > because /dev or /dist/dev (when booting from the fixit CD) is read- > only. Without access to /dev/MAKEDEV I used mknod: mknod mknod /dev/ad0 c 116 0x00010002 mknod /dev/ad0s1a c 116 0x00020000 mknod /dev/ad0s1b c 116 0x00020001 ... mknod /dev/ad0s1h c 116 0x00020007 mknod /dev/ad0s4 c 116 0x00050002 mknod /dev/ad0s4a c 116 0x00050000 ... mknod /dev/ad0s4h c 116 0x00050007 Obviously you need to have kept a not of the major & minor numbers for your particular device (ad0 in this case). I am not sure if this is the correct procedure, but it worked. Jeff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message