Re: [GIT PATCH] Remove devfs from 2.6.16

From: Bill Davidsen
Date: Tue Mar 28 2006 - 18:07:48 EST


Adrian Bunk wrote:
On Thu, Mar 23, 2006 at 12:33:13PM +0900, Kalin KOZHUHAROV wrote:
Greg KH wrote:
They are the same "delete devfs" patches that I submitted for 2.6.12 and
2.6.13 and 2.6.14 and 2.6.15. It rips out all of devfs from the kernel
and ends up saving a lot of space. Since 2.6.13 came out, I have seen
no complaints about the fact that devfs was not able to be enabled
anymore, and in fact, a lot of different subsystems have already been
deleting devfs support for a while now, with apparently no complaints
(due to the lack of users.)

It's also been over 8 months past the date when we said we would delete
devfs from the kernel tree in the file,
Documentation/feature-removal-schedule.txt, and over one and one half
years since we publicly announced to the world that devfs would be
removed from the kernel tree. So, I think people have had plenty of
advance notice that this was going to happen by now :)

Please pull from:
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/gregkh/devfs-2.6.git/
or if master.kernel.org hasn't synced up yet:
master.kernel.org:/pub/scm/linux/kernel/git/gregkh/devfs-2.6.git/

I've posted all of these patches before, but if people really want to look at them, they can be found at:
http://www.kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/gregkh-05-devfs/

Also, if people _really_ are in love with the idea of an in-kernel
devfs, I have posted a patch that does this in about 300 lines of code,
called ndevfs. It is available in the archives if anyone wants to use
that instead (it is quite easy to maintain that patch outside of the
kernel tree, due to it only needing 3 hooks into the main kernel tree.)
OK, I completely agree with that, but shouldn't there be left something in
the Documentation at least? A note like "devfs was superseded by udev since
2.6.?? and was completely removed since 2.6.??" or something along the same
line of thought? It will just make life easier for people finding lots of
old pages and HOWTOs on the Net mentioning devfs.

Unfortunately I couldn't find a proper place for that note...
Maybe a new file Documentation/filesystems/devfs.txt instead of the Documentation/filesystems/devfs directory present now?

There's already a note in Documentation/Changes.

I really don't think that's the most likely place people would look. The suggested few lines in a file with a dead-obvious name would undoubtedly save people time, as they would look there first.

No complaint about getting rid of the feature, but there are lots of mentions of devfs, putting in a definitive explanation wouldn't be out of place.

--
-bill davidsen (davidsen@xxxxxxx)
"The secret to procrastination is to put things off until the
last possible moment - but no longer" -me

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/