LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-10-2004, 11:07 AM   #1
samek
LQ Newbie
 
Registered: Jun 2004
Location: Slovenia
Distribution: Slackware && Gentoo
Posts: 11

Rep: Reputation: 0
/dev/null


Hello,

I have deleted /dev/null and now i have created it back
Code:
mknod /dev/null c 1 1
$ chmod 666 null
and when i write for example man ls it writes to me:
/usr/bin/nroff: line 1: /dev/null: Input/output error

how do i fix this ?

Last edited by samek; 12-10-2004 at 11:09 AM.
 
Old 12-10-2004, 11:52 AM   #2
Vookimedlo
Member
 
Registered: Jul 2004
Location: Czech Republic - Roudnice nad Labem
Distribution: Debian
Posts: 253

Rep: Reputation: 34
I think the minor is not 1, but 3
Code:
mknod /dev/null c 1 3
$ chmod 666 null
 
Old 12-11-2004, 10:18 AM   #3
samek
LQ Newbie
 
Registered: Jun 2004
Location: Slovenia
Distribution: Slackware && Gentoo
Posts: 11

Original Poster
Rep: Reputation: 0
thanks.. it works ..
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What would happen if I where to cat /dev/mem > /dev/null Joey.Dale Linux - General 11 07-26-2009 12:46 PM
/dev/null linuxprogrammer Linux - Newbie 1 09-05-2005 07:07 AM
mv c:\WINDOWS /dev/null; mount /dev/hda treehead LinuxQuestions.org Member Intro 5 10-19-2004 08:53 AM
/dev/null jon_k Linux - Hardware 5 07-16-2003 02:40 PM
>/dev/null lackluster Linux - Networking 5 06-27-2002 09:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration