Re: how to recovry /dev/null
- From: Matt <matt@xxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 17 Feb 2008 11:26:29 GMT
Joe Pfeiffer wrote:
Erfan <zhaoerfan@xxxxxxxxx> writes:
On 2月16日, 下午11时36分, Måns Rullgård <m...@xxxxxxxxx> wrote:Erfan <zhaoer...@xxxxxxxxx> writes:yes,i google it and find a way to solve this:hi, i made a mistake a seconds ago.mknod /dev/null c 1 3
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?
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?
.
- Follow-Ups:
- Re: how to recovry /dev/null
- From: Joe Pfeiffer
- Re: how to recovry /dev/null
- From: John Hasler
- Re: how to recovry /dev/null
- From: Måns Rullgård
- 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
- Re: how to recovry /dev/null
- From: Joe Pfeiffer
- 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
|