当前在线人数10550
首页 - 分类讨论区 - 电脑网络 - Linux 操作系统版 -文摘区 - 阅读文章
未名交友
[更多]
[更多]
文章阅读:[转载] Wonderful World of Linux 2.4 (part III)
[版面: Linux 操作系统] [作者:ayanami] , 2000年11月26日17:54:46
ayanami
进入未名形象秀
我的博客
[上篇] [下篇]

发信人: ayanami (发情的蚊子~甲亢中), 信区: Linux
标  题: [转载] Wonderful World of Linux 2.4 (part III)
发信站: The unknown SPACE (Sun Nov 26 17:54:46 2000), 转信

【 以下文字转载自 ITnews 讨论区 】
【 原文由 ayanami 所发表 】
UNIX Devices - /dev/*

Although taking place largely under the hood, there is one
major change that will have a drastic effect on the way
Linux 2.4 handles devices. Incidentally, it is also one of
the new kernel's most debated features: DevFS, the Device
Filesystem. Although currently optional, when enabled the
new Device Filesystem will have two very major effects on
the way users and programs interact with hardware and other
devices. First and most obvious, nearly every "standard"
device name has changed. Instead of putting all devices
essentially in the root directory of the /dev tree, Linux
2.4's /dev tree leans towards having a large number of
directories corresponding to controllers or general
groupings with individual disks and other devices in those
directories. For example, what was "/dev/hda"is now likely
to appear somewhere under "/dev/ide0" This change
dramatically increases the available namespace for devices
and allows for easier integration of USB and similar device
systems. The second major effect of the new system is that
device nodes will no longer be created by a user and stored
on a local disk. Instead, device nodes are created by the
drivers that use them,as they are loaded. This not only
makes the /dev directory cleaner, but it also allows Linux
to use a root filesystem that may not understand all UNIX
semantics (such as a DOS filesystem.) An additional
userspace daemon, devfsd, will be recommended so that the
old style names will continue to work.


For the most part, this change should only affect bleeding
edge users and distribution maintainers. (It remains to be
seen what work distributions decide to do in this area
before release.) Unfortunately, there are some drawbacks to
this system for power users. For example, it is more
difficult in this new system to custom name your devices or
assign non-standard permissions to them. It is commonly
believed however that these issues can be solved using
user-level scripting.

--
Linux is only free when your time has no value
                                - JWZ

※ 来源:.The unknown SPACE bbs.mit.edu.[FROM: 167.95.252.64.s]
--
※ 转载:.The unknown SPACE bbs.mit.edu.[FROM: 64.252.95.167]

[上篇] [下篇]
[转寄] [转贴] [回信给作者] [修改文章] [删除文章] [同主题阅读] [从此处展开] [返回版面] [快速返回] [收藏] [举报]
 
回复文章
标题:
内 容:

未名交友
将您的链接放在这儿

友情链接


 

Site Map - Contact Us - Terms and Conditions - Privacy Policy

版权所有,未名空间(mitbbs.com),since 1996