recreating /dev/null

2001-12-16 Thread stayler
Hi Guys, Any clues on how to recreate /dev/null in Caldera OL. I was trying out QMail which exploded when I tried to reboot, wanted to see if the daemons started ok etc, now I can't get to init 3 and the kernel complains that it can't open /dev/null. It appears that the install script for

Re: recreating /dev/null

2001-12-16 Thread Joel Hammer
Use mknod to set up the major and minor blocks and the type of device, block or character . I used to think that only the major and minor number mattered, but there is another device on my machine with the same major and minor numbers, ram3, and is sure don't act like /dev/null. Maybe it is

Re: recreating /dev/null

2001-12-16 Thread stayler
Perfect Joel, Thanks. Its all better now. Much appreciated! stayler On Sun, 16 Dec 2001 21:15:28 -0500, Joel Hammer wrote: crw-r--r-- 1 root root 1, 3 Dec 16 21:07 /dev/junk Then, chmod 777 /dev/junk Then test it out: echo this is a test junkfile cat /dev/null