* Patch: 2.5.62.4 small devfs
@ 2003-02-28 22:29 Adam J. Richter
2003-03-03 16:27 ` Andrew Walrond
0 siblings, 1 reply; 4+ messages in thread
From: Adam J. Richter @ 2003-02-28 22:29 UTC (permalink / raw)
To: andrew, linux-kernel; +Cc: akpm
On Fri, 28 Feb 2003, Andrew Walrond wrote:
>[...] 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
adam@yggdrasil.com \ / 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."
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Patch: 2.5.62.4 small devfs
2003-02-28 22:29 Patch: 2.5.62.4 small devfs Adam J. Richter
@ 2003-03-03 16:27 ` Andrew Walrond
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Walrond @ 2003-03-03 16:27 UTC (permalink / raw)
To: Adam J. Richter; +Cc: linux-kernel
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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Patch: 2.5.62.4 small devfs
[not found] <200303031638.h23GcH131618@gaea.projecticarus.com>
@ 2003-03-03 16:45 ` Andrew Walrond
0 siblings, 0 replies; 4+ messages in thread
From: Andrew Walrond @ 2003-03-03 16:45 UTC (permalink / raw)
To: jordan.breeding, linux-kernel, adam
Hmmm
I'm already using the existance of .devfsd to see if devfs was mounted
by the kernel at boot. This suggests I need a new test for small devfs?
Andrew
jordan.breeding@attbi.com wrote:
> if [ -f /dev/.devfsd ]; then
> you know you have old devfs
> fi
>
> Jordan (I am fairly certain that it is /dev/.devfsd, you can always do ls -
> al /dev/.* to find the real name)
>
>>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
>>
>>
>>-
>>To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
>>the body of a message to majordomo@vger.kernel.org
>>More majordomo info at http://vger.kernel.org/majordomo-info.html
>>Please read the FAQ at http://www.tux.org/lkml/
>
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Patch: 2.5.62.4 small devfs
@ 2003-03-03 18:15 Adam J. Richter
0 siblings, 0 replies; 4+ messages in thread
From: Adam J. Richter @ 2003-03-03 18:15 UTC (permalink / raw)
To: andrew; +Cc: linux-kernel
>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?)
I haven't tested this, but something like this might
work:
if [ -e /dev/.devfsd ] ; then
echo "Running old devfs"
devfsd
else
echo "Running no devfs or new devfs."
fi
Adam J. Richter __ ______________ 575 Oroville Road
adam@yggdrasil.com \ / 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."
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2003-03-03 18:05 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-28 22:29 Patch: 2.5.62.4 small devfs Adam J. Richter
2003-03-03 16:27 ` Andrew Walrond
[not found] <200303031638.h23GcH131618@gaea.projecticarus.com>
2003-03-03 16:45 ` Andrew Walrond
-- strict thread matches above, loose matches on Subject: below --
2003-03-03 18:15 Adam J. Richter
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox