on 09/17/2008 04:34 PM Conway S. Smith wrote the following:
On Wed, 17 Sep 2008 08:19:42 +0300
Thanasis <[EMAIL PROTECTED]> wrote:
on 09/17/2008 08:08 AM ABCD wrote the following:
Duncan wrote:
But make sure you either have a copy of the device node or know
how to create one, before you do.
To recreate /dev/null, do (as root):

# mknod -m 666 /dev/null c 1 3

Thank you ABCD and Duncan.
I managed to have a backup of /dev/null and /dev/console as /null
and /console. :-)


Did you need the backups (did your /etc/adjtime -> /dev/null symlink
break /dev/null)?


Conway S. Smith

No, at least so far everything seems good:

# ls -l /dev/null /null
crw-rw-rw- 1 root root 1, 3 2008-09-17 21:41 /dev/null
crw-rw-rw- 1 root root 1, 3 2008-09-17 10:59 /null
# ls -l /dev/console /console
crw------- 1 root root 5, 1 2008-09-17 08:00 /console
crw------- 1 root root 5, 1 2008-09-17 18:42 /dev/console
#


Reply via email to