Linux Magazine: Using DEVFS [introduced in 2.3.46 kernel] | Linux Today

Linux Magazine: Using DEVFS [introduced in 2.3.46 kernel]

Written By
Web Webster
Web Webster
Aug 5, 2000

“Linux kernel version 2.3.46 introduced “device filesystem,” or
devfs, support in the official kernel tree. devfs provides a
new filesystem type to be used for /dev. This filesystem keeps
track of /dev layout and entries from within the kernel, without
using on-disk storage. This means that new entries can appear in
/dev as device drivers are loaded and new hardware is detected by
the system.
This facility is marked as experimental, and its
use is expected to remain optional, as some environments (such as
embedded systems) may still prefer to use the old approach.”

“In this article I’m going to give only a brief introduction to
devfs, skipping over its setup and configuration. More detailed
documentation on those issues is available elsewhere; one good
source of information, for instance, is the file
Documentation/filesystems/devfs/README found in newer kernel source
trees.”

“I’ll show how device programmers can write code that fits in
with the devfs environment. The discussion and sample code here are
based on version 2.2.14 of the kernel, which has been patched with
devfs-patch-v99.11.gz, available from
ftp//ftp.atnf.csiro.au/pub/people/rgooch/linux.”

Complete
Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.