/dev/null someone screwed up, plz help

2009-06-24 Thread Zachary Uram
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?

I am running Debian squeeze with kernel 2.6.26-2-686

Zach


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2009-06-24 Thread Scott Gifford
Zachary Uram net...@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.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



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

2009-06-24 Thread Zachary Uram
On Thu, Jun 25, 2009 at 12:36 AM, Scott
Giffordsgiff...@suspectclass.com wrote:

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

mknod -m 0666 /dev/null c 3 1

Thanks Scott. That worked!

Zach


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org