Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 Mar 2003 04:04:22 -0500
From:      "Subhro Sankha Kar" <subhro@indiashells.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Help deleted /dev/ad0s2 tree
Message-ID:  <20030311090422.5492.qmail@webhosting1.macroshell.com>
In-Reply-To: <20030311083647.19DDA43F93@mx1.FreeBSD.org> 
References:  <20030311083647.19DDA43F93@mx1.FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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