Print this page. Recommend
Slashdot it! Delicious Share on Facebook Tweet! Digg

Dynamic device management in Udev

DEVICE MANAGER

Author(s): RENE REBE, OLIVER FROMMEL, JENS-CHRISTOPH BRENDEL

After three years of hanging around on the sidelines, Udev has finally ousted the legacy Dev-FS system. We take a look under the hood at the Udev device management system inside your Linux system.

Linux inherited the classic Unix adage “Everything is a file.” This abstraction has allowed programs to use device nodes (device files) to access computer hardware as if they were accessing an ordinary file. These special device files, which are opened, read, written to, or closed using the same system calls as text files, are distinguished by their names, types (block or character device), major numbers, and minor numbers. PreviouslyToo Static Device files are created by the mknod command during the installation phase, assuming legacy management. This approach creates a permanent entry in /dev for each device the admin might connect to the system at any time in the future, and this can easily mean thousands of entries.


Read full article as PDF »


Comments


Print this page. Recommend
Slashdot it! Delicious Share on Facebook Tweet! Digg
Related Articles
HOTPLUG HACKS Extending the Linux hotplug system
Live Streaming from ApacheCon Europe 2009

All about Apache in 19 talks

Watch 3 days full of Apache talks live from Amsterdam on March 25-27 in the convenience of your home or office. Topics are: Apache Hadoop, Tomcat for Developers and Administrators, HTTP Server Administration and much more.

Find out more

 

In the US and Canada, Linux Magazine is known as Linux Pro Magazine.
Entire contents © 2009 [Linux New Media USA, LLC]
Linux New Media web sites:
North America: [Linux Pro Magazine]
UK/Worldwide: [Linux Magazine]
Germany: [Linux-Magazin] [LinuxUser] [EasyLinux] [Linux-Community] [Linux Technical Review]
Eastern Europe: [Linux Magazine Poland] [Linux Community Poland] [Open Source DVD Poland]
International: [Linux Magazine Brazil] [EasyLinux Brazil] [Linux Magazine Spanish]
Corporate: [Linux New Media AG]