*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Linux man pages -> null (4)              
Title
Content
Arch
Section
 

NULL(4)

Contents


NAME    [Toc]    [Back]

       null, zero - data sink

DESCRIPTION    [Toc]    [Back]

       Data written on a null or zero special file is discarded.

       Reads  from  the  null  special file always return end of file, whereas
       reads from zero always return \0 characters.

       null and zero are typically created by:

	      mknod -m 666 /dev/null c 1 3
	      mknod -m 666 /dev/zero c 1 5
	      chown root:root /dev/null /dev/zero

NOTES    [Toc]    [Back]

       If these devices are not writable and readable for all users, many programs
 will act strange.

FILES    [Toc]    [Back]

       /dev/null
       /dev/zero

SEE ALSO    [Toc]    [Back]

      
      
       chown(1), mknod(1)



Linux				  1992-11-21			       NULL(4)
[ Back ]
 Similar pages
Name OS Title
BIO_s_null Tru64 Null data sink
BIO_s_null NetBSD null data sink
AFgetframecnt IRIX get the total sample frame count / data bytes / data offset for a specified audio track from an AFfilehandle s
inet6_opt_get_val Tru64 Extract data items from the data portion of an IPv6 option
inet6_opt_set_val Tru64 Insert data items into the data portion of the IPv6 option
tcflush Tru64 Flush nontransmitted output data or nonread input data
t_rcv Tru64 Receive normal data or expedited data on a connection
t_snd Tru64 Send normal data or expedited data over a connection
t_sndv Tru64 Receive data or expedited data sent over a connection
t_rcv IRIX receive data or expedited data sent over a connection
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service