1833873 Members
2081 Online
110063 Solutions
New Discussion

Rebuild /dev/null

 
SOLVED
Go to solution
Wendy_9
Frequent Advisor

Rebuild /dev/null

Hi all,

In my system, /dev/null has corrupted. I want to know how to rebuild it.

Thanks

Regards,
Wendy
3 REPLIES 3
Ravi_8
Honored Contributor

Re: Rebuild /dev/null

Hi,

#insf -e

this will install all devices psudo files
never give up
Wendy_9
Frequent Advisor

Re: Rebuild /dev/null

I know that there is a command to recreate /dev/null (mksf and then mknod) but I do not remember the exactly syntax.

Can anyone give me a hand

Thanks

Regards,
Wendy
T G Manikandan
Honored Contributor
Solution

Re: Rebuild /dev/null

# mknod /dev/null c 3 0x000002
# chown bin /dev/null
# chgrp bin /dev/null
# chmod 666 /dev/null


Thanks