Subject: Re: apmd question
To: scott worley <folokai@earthlink.net>
From: Steven M. Bellovin <smb@research.att.com>
List: port-i386
Date: 11/06/2001 14:26:44
In message <20011106111250.62b6ae39.folokai@earthlink.net>, scott worley writes
:
>Hi,
>
>Just installed 1.5.2 and see this when apmd starts:
>
>apmd: cannot open device file '/dev/apmctl': device not configured
>
>Does this mean the default kernel doesn't have apm compiled in?

Yes, that's exactly what it means.
>
>I have
>crw-r--r-- 1 root wheel 21, 0 Aug 18 17:19 /dev/apm
>crw-r--r-- 1 root wheel 21, 8 Aug 18 17:19 /dev/apmctl
>
>Read the man pages but found nothing about the above message.
>

Hmm -- the man page (errno(2) gives the text "No such device or address",
but /usr/include/sys/errno.h says "device not configured" for ENXIO.
That probably merits filing a PR.  (I haven't found where in the C 
library that string lives, however.)

		--Steve Bellovin, http://www.research.att.com/~smb
		Full text of "Firewalls" book now at http://www.wilyhacker.com