Re: howto recreate /dev/null ?
> This is definitely a newbie question. I keep on reading about sending
> things to /dev/null. So I thought I would give a try:
>
> mv file /dev/null
mknod /dev/null c 1 3
It will create character ('c') device file /dev/null with major number 1 and
minor number 3. Exactly what you need.
Do not forget to allow everyone to write into /dev/null:
chmod a+w /dev/null
--
Alexey Vyskubov
(at home)
Hi! I'm a .signature virus! Copy me into your ~/.signature to help me spread!
Reply to: