I read the mknod man page, which is (as far as I can tell) what you would use to make a character device like /dev/zero, but I don't see how you would get it to yield an infinite stream of zero bits (or another pattern). What is the procedure for creating such character devices?
Tell me more
×
Super User is a question and answer site for
computer enthusiasts and power users. It's 100% free, no registration required.
|
All |
||||
|
|
|
|
|||
|
|
zero_lseek,read_zero,write_zero,mmap_zeroindrivers/char/mem.c. – David Schwartz Oct 1 '12 at 7:04/dev/one? – Blacklight Shining Oct 1 '12 at 7:45