Recommended VPS for your FreeBSD or Linux Server + Custom Iso Allowed (Free $20 credit for limited time, grab it now)
Mayday….mayday, my /dev/null no longer exist help me…..
mknod /dev/null c 2 2
chmod 666 /dev/null
from man of mknod :
c -> Type of device. If the device is a block type device such as a
tape or disk drive which needs both cooked and raw special files,
the type is b. All other devices are character type devices,
such as terminal and pseudo devices, and are type c.
mknod name [b | c] major minor [owner:group]
null — the null device
The null device accepts and reads data as any ordinary (and willing) file
– but throws it away. The length of the null device is always zero.