---

KernelTrap: ndevfs–A “Nano” devfs

“In order to mitigate the concerns raised by few about the
removal of devfs from the mainline kernel, GregKH announced
ndevfs–a ‘nano’ devfs. ndevfs is a simple ramfs based filesystem.
It creates/deletes nodes in the /dev directory dynamically in the
format seen in devfs. The patch has been satisfactory for most of
the users. Greg adds:

“‘I’m not going to be submitting this. But what it is, is a nice
proof-of-concept for people who ‘just can’t live without a
in-kernel devfs’ to show that it can be done in less than 300 lines
of code, and only 6 hooks (2 functions in 3 different places) in
the main kernel tree. That is managable outside of the main kernel
for years, with almost little to no effort…'”

Complete Story

Related Story:

KernelTrap: The Future Of Devfs
(Jun 27, 2005)

Get the Free Newsletter!

Subscribe to Developer Insider for top news, trends, & analysis