Skip to contentSkip to conversation

Patch: 2.5.62.4 small devfs

DISCUSSION Adam J. Richter 2 participants 2 messages Feb 28, 2003 – Mar 3, 2003

lore
Share & tools
lore
#0 lore raw
Quoted 3 lines · Andrew Walrond

[...] I want to give this another whirl, but your latest patch doesn't apply cleanly against 2.5.63+ (fs/devfs/base.c fails). Any chance of an update?

I have made a new version of my small devfs patch against
linux-2.5.62.bk4. This version fixes a bug where directory->i_sem was held while devfs_helper ran, which caused deadlock on one system. I am surprised I had not noticed this problem before. This version also adds Documentation/filesystems/devfs/small-devfs, describing differences between the old devfs implementation and this one. You can retrieve the patch from the following URL.

ftp://ftp.yggdrasil.com/pub/dist/device_control/devfs/smalldevfs-2.5.62.4-v11.patch

As before, the optional devfs_helper user level program can
be retrived from:

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

My "to do" list for small devfs is now as follows.

- Submit a patch to the -mm kernels, as Andrew has been kind enough to distribute this change in his -mm kernels.
- Remove CONFIG_DEVFS_MOUNT?
- Explore eliminating by fs/devfs/fs.c by extending dnotify and ramfs slightly.
- Probably request integration after linux-2.7.0.

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."

#1 lore raw

Hi Adam

Could you suggest a simple bit of sh script that will tell me if I have a devfs or small devfs kernel, (so my init scripts can decide whether or not to load devfsd?)

Andrew Walrond