[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: Re: KDE2 and Linux 2.4
From: Rolf Magnus <ramagnus () zvw ! de>
Date: 2001-02-09 23:15:38
[Download RAW message or body]
On Wednesday, 7. February 2001 18:23, Leon Widdershoven wrote:
> A dir watcher with QFileInfo exists() and refresh() together with
> a QTimer?
>
> or setitimer and an ifstream?
>
> or maybe there is something in /proc which even tells you that
> a pilot thing has connected:)
from /usr/src/linux/Documentation/usb/hotplug.txt:
> KERNEL HOTPLUG HELPER (/sbin/hotplug)
> When you compile with CONFIG_HOTPLUG, you get a new kernel parameter:
> /proc/sys/kernel/hotplug, which normally holds the pathname "/sbin/hotplug".
> That parameter names a program which the kernel may invoke at various times.
> The /sbin/hotplug program can be invoked by any subsystem as part of its
> reaction to a configuration change, from a thread in that subsystem.
> Only one parameter is required: the name of a subsystem being notified of
> some kernel event. That name is used as the first key for further event
> dispatch; any other argument and environment parameters are specified by
> the subsystem making that invocation.
> A reference implementation of a /sbin/hotplug script is available at the
> http://www.linux-usb.org website, which works USB for but also knows how to
> delegate to any /etc/hotplug/$TYPE.agent policy agent present.
>> Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic