Re: how to recovry /dev/null



Joe Pfeiffer wrote:
Erfan <zhaoerfan@xxxxxxxxx> writes:

On 2月16日, 下午11时36分, Måns Rullgård <m...@xxxxxxxxx> wrote:
Erfan <zhaoer...@xxxxxxxxx> writes:
hi, i made a mistake a seconds ago.
i delete /dev/null,
now,i am still in the systerm without reboot. how can i deal with it?
is there any way to recovery?
mknod /dev/null c 1 3
yes,i google it and find a way to solve this:
1.mknod /dev/null c 2 2
2. chmod 666 /dev/null
God bless my carelessness and your kind hearted

The Documentation/devices.txt

Where is that?

and what I've got on my system agree
with Måns (i.e. 1 3), not with what you found on the web. 2 2 should
be a psdeudo-tty.

Where is the documentation regarding major and minor device numbers?
.



Relevant Pages

  • Re: how to recovry /dev/null
    ... now,i am still in the systerm without reboot. ... is there any way to recovery? ... mknod /dev/null c 1 3 ...
    (comp.os.linux.development.apps)
  • Re: how to recovry /dev/null
    ... now,i am still in the systerm without reboot. ... is there any way to recovery? ... exprcting your suggestions ...
    (comp.unix.programmer)
  • Re: how to recovry /dev/null
    ... now,i am still in the systerm without reboot. ... is there any way to recovery? ... mknod /dev/null c 1 3 ...
    (comp.os.linux.development.apps)
  • Re: how to recovry /dev/null
    ... now,i am still in the systerm without reboot. ... is there any way to recovery? ... exprcting your suggestions ...
    (comp.unix.programmer)
  • Re: Stop error at Turn Off - Serious error recovery at Reboot
    ... and Recovery) disabled, a "blue screen" stop notice provides the following ... Upon reboot the process is very ... The recovery files that are created at each instance of closing down or ... points to low ram or faulty. ...
    (microsoft.public.windowsxp.help_and_support)