Index of Section 4 Manual Pages
| Interix / SUA | null.4 | Interix / SUA |
null(4) null(4)
null
NAME
null, zero - data sink
DESCRIPTION
Data written to /dev/null or /dev/zero is discarded. When data is read
from null, it always returns end-of-file; when data is read from zero, it
always returns \0 (null) characters.
These files can be created using the following commands:
/usr/sbin/mknod -m 666 /dev/null c 48 0
chown $(hostname)+Administrator:+Administrators null
/usr/sbin/mknod -m 666 /dev/zero c 48 3
chown $(hostname)+Administrator:+Administrators zero
NOTE
If these files cannot be read and written to by all users, some programs
will not operate properly.
FILES
/dev/null
/dev/zero