From owner-freebsd-questions Tue Mar 11 0:58:11 2003 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 20EA737B401 for ; Tue, 11 Mar 2003 00:58:10 -0800 (PST) Received: from webhosting1.macroshell.com (macroshell.com [216.123.72.2]) by mx1.FreeBSD.org (Postfix) with SMTP id 3203543F3F for ; Tue, 11 Mar 2003 00:58:09 -0800 (PST) (envelope-from subhro@indiashells.com) Received: (qmail 5493 invoked by uid 98); 11 Mar 2003 09:04:22 -0000 Message-ID: <20030311090422.5492.qmail@webhosting1.macroshell.com> References: <20030311083647.19DDA43F93@mx1.FreeBSD.org> In-Reply-To: <20030311083647.19DDA43F93@mx1.FreeBSD.org> From: "Subhro Sankha Kar" To: freebsd-questions@freebsd.org Subject: Re: Help deleted /dev/ad0s2 tree Date: Tue, 11 Mar 2003 04:04:22 -0500 Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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 Glenn Todd writes: > Foolishly I deleted my /dev/ad0s2a tree. However, I tried the following in > an attempt to recreated but I am getting stumped at the end of the process. > > Booted the system in single user mode, then created a read/writable file > system with: > > mount_mfs -T minimum -s 131072 /dev/null /tmp > > cd to /tmp and cp MAKEDEV from the read only /dev.MAKEDEV > > created a device node with: > /MAKEDEV ad0s2a (note this created the whole tree in tmp) > > attempted to mount this with the command > > mount /tmp/ad0s2a /mnt but got the error that ad0s2a was busy. As a result > cannot get a readwritable /dev to create the device nodes. What am I doing > wrong?? > > Glenn > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message Hello Glenn, I am not too sure but the eason why u get a device busy message is that ur newly created device is alreaqdy mounted on /tmp. U cant remount it on /dev while it is mounted in /tmp. Check what the securelevel ur kernel is running in and if u can boot in multiuser. Reset the kernel security level to -1 and do the same. It should be solved Subhro Sankha Kar IIIT-Calcutta To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message