Subject: Re: Pluged : USBd for NetBSD ?
To: Jachym Holecek <freza@liberouter.org>
From: Steven M. Bellovin <smb@cs.columbia.edu>
List: tech-kern
Date: 01/19/2005 07:41:32
In message <20050119120615.GA5161@hanele>, Jachym Holecek writes:
>> On Wed, Jan 19, 2005 at 11:38:47AM +0100, fab wrote:
>> > Basically, It has a config file and permits you to
>> > ex ecute commands when someone plugs/unplugs an USB device.
>> 
>> And if someone inserts a pcmcia card?
>> 
>> I think in -current syslogd can handle this (though this might not be
>> the obvious solution). And of course for network cards there is ifwatchd.
>
>If you mean parsing kernel printfs, I don't think that's enough. You
>can't easily tell a failed attach attempt that way.
>
>Or does -current syslogd have a new feature I'm missing?
>
>
The problem isn't syslogd, it's the kernel -- does it print the 
messages you want for each situation?

		--Prof. Steven M. Bellovin, http://www.cs.columbia.edu/~smb