Re: how to recovry /dev/null
- From: Joe Pfeiffer <pfeiffer@xxxxxxxxxxx>
- Date: Sat, 16 Feb 2008 15:10:14 -0700
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 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.
.
- Follow-Ups:
- Re: how to recovry /dev/null
- From: Matt
- Re: how to recovry /dev/null
- References:
- how to recovry /dev/null
- From: Erfan
- Re: how to recovry /dev/null
- From: Måns Rullgård
- Re: how to recovry /dev/null
- From: Erfan
- how to recovry /dev/null
- Prev by Date: Re: how to recovry /dev/null
- Next by Date: Re: how to recovry /dev/null
- Previous by thread: Re: how to recovry /dev/null
- Next by thread: Re: how to recovry /dev/null
- Index(es):
Relevant Pages
|