Subject: Re: apmd question
To: scott worley <firstname.lastname@example.org>
From: Steven M. Bellovin <email@example.com>
Date: 11/06/2001 14:26:44
In message <firstname.lastname@example.org>, scott worley writes
>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.
>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