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 [EMAIL PROTECTED]
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 [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message

Reply via email to