[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: /dev/null someone screwed up, plz help



Zachary Uram <netrek@gmail.com> writes:

> It seems my /dev/null is messed up, if i try to echo to it i get error:
> bash: /dev/null: No such device or address
>
> Here is ls on it:
> crw-r--r-- 1 root root 3, 2 2009-06-24 12:31 /dev/null
>
> Can someone plz tell me the correct mknod command to run to fix it?

On my system it is 1, 3 with perms of 666:

    mknod -m 0666 /dev/null c 3 1

----Scott.


Reply to: