Skip to contentSkip to conversation

Patch: linux-2.5.59/fs/devfs shrink

DISCUSSION Adam J. Richter 1 participant 1 message Jan 18, 2003

lore
Share & tools
lore
#0 lore raw

An updated version of my patch to shrink devfs by replacing
its filesystem operations with code derived from ramfs is now FTPable from the following URL. Christoph Hellwig got my fs/devfs/util.c changes integrated in to 2.5.59 along with some other cleanups of his, so there no longer any change to util.c in my patch, and now only one line is changed in include/linux/fs/devfs_fs_kernel.h. The patch is a net deletion of 2447 lines.

ftp://ftp.yggdrasil.com/pub/dist/device_control/devfs/smalldevfs-2.5.59-v8.patch

Also, there is a new 0.2 version of devfs_helper (partial
devfsd replacment) FTPable the following URL. The only difference is a fix to a bug where an extra character was being copied in rules that involved expanding regular expression matches.

ftp://ftp.yggdrasil.com/pub/dist/device_control/devfs/devfs_helper-0.2.tar.gz

Although I'd personally like to see my patch integrated into
2.5, the only bug that I think it fixes is extremely obscure (a module unload race for character devices that probably nobody will hit), and nothing else relies on it. I'm happy to keep people updated by posting new versions of this patch as necessary until 2.7 opens up, although, as I said, I also wouldn't mind seeing it integrated earlier.

Adam J. Richter     __     ______________   575 Oroville Road
[email protected]     \ /                  Milpitas, California 95035
+1 408 309-6081         | g g d r a s i l   United States of America

"Free Software For The Rest Of Us."