|
发表于 2004-1-28 21:38:12
|
显示全部楼层
最初由 penny 发表
devfs可以进垃圾堆了。呵呵
http://kerneltrap.org/node/view/1893
There are two mails below.
- rom: Andrew Morton [email blocked]
- Subject: Re: DevFS vs. udev
- Date: Tue, 23 Dec 2003 18:38:20 -0800
- Ian Kent [email blocked] wrote:
- >
- > However, if Andrew wants it gone from the kernel there is no point.
- I do not. devfs shall remain in 2.6 and shall continue to be supported.
- Richard has disappeared but Andrey Borzenkov understands devfs well and
- performed valuable work on it during 2.5 development.
- Nor would I recommend that devfs be removed early from 2.7.x. We should
- wait until the proposed udev/sysfs solutions have matured in 2.6 and have
- proven themselves in the field. Only then will we be in a position to
- confirm that devfs can be removed without causing some people unacceptable
- levels of grief. There is no rush.
- And yes, there are architectural/cleanliness issues with devfs. In 2.5
- Adam Richter totally reinventing devfs's internals, basing it around the
- ramfs infrastructure. If we elect to retain devfs in 2.8 then that effort
- should be resurrected.
- Now would be a good time for someone to feed the whole thing through indent
- though.
复制代码
- From: Greg KH [email blocked]
- Subject: Re: DEVFS is very good compared to UDEV
- Date: Tue, 23 Dec 2003 15:14:57 -0800
- On Tue, Dec 23, 2003 at 03:00:43PM -0800, Hua Zhong wrote:
- > > So I cannot comment over _why_ defvs is unmaintained, but that is not
- > > the point: either way, it stands that devfs is unmaintained.
- > > That is a problem in and of itself.
- >
- > It's just my impression that around that time core developers had
- > decided to replace devfs with a new model. If I were in ths same shoes,
- > I would probably also stop maintaining it. Then 2 years later when
- > somebody asks, the reason to replace my code shouldn't be
- > "unmaintained". Just the technical reasons should be enough. :-)
- Back in June of 2001, Pat Mochel and I talked with Richard about this
- whole driver model, sysfs, and udev design at the 2001 kernel summit,
- after presenting it to all of the other kernel developers. He had some
- objections, but was very aware of what we wanted to do.
- It's not like udev and this whole sysfs / driver model implementation
- snuck into the kernel late at night when no one else was looking, and
- pounced on all of the poor, unsuspecting devfs users, eating them for a
- early morning snack.
- greg k-h
复制代码 |
|