Donal Farrell wrote:
Hi there. How do I change permissions or use mknod to make /dev/null
back into a charcter device?
[EMAIL PROTECTED]:~> ls -la /dev/{null,zero}
-rw-r--r--  1 root root  117 2005-08-15 20:50 /dev/null
crw-rw-rw-  1 root root 1, 5 2004-04-06 14:27 /dev/zero
<snip>

1) Remove devices:
umount /dev/pts
umount /dev/shm
umount /dev
rm -f /dev/console
rm -f /dev/null

2) /dev setup instructions:
http://www.linuxfromscratch.org/lfs/view/stable/chapter06/devices.html
(The instructions from Ch-6.8.1 should suffice.)

3) Cleanup:
reboot

That should do it I think..

Regards,
Jeremy.
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to