From owner-freebsd-hackers Thu Nov 27 14:59:56 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA29106 for hackers-outgoing; Thu, 27 Nov 1997 14:59:56 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA29101 for ; Thu, 27 Nov 1997 14:59:53 -0800 (PST) (envelope-from tlambert@usr07.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id QAA02225; Thu, 27 Nov 1997 16:01:30 -0700 (MST) Received: from usr07.primenet.com(206.165.6.207) via SMTP by smtp03.primenet.com, id smtpd002212; Thu Nov 27 16:01:26 1997 Received: (from tlambert@localhost) by usr07.primenet.com (8.8.5/8.8.5) id PAA14136; Thu, 27 Nov 1997 15:59:16 -0700 (MST) From: Terry Lambert Message-Id: <199711272259.PAA14136@usr07.primenet.com> Subject: Re: detecting devfs from userland? To: proff@iq.org (Julian Assange) Date: Thu, 27 Nov 1997 22:59:16 +0000 (GMT) Cc: hackers@freebsd.org In-Reply-To: <19971126232220.5569.qmail@iq.org> from "Julian Assange" at Nov 26, 97 11:22:20 pm X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Is there anyway to detect if the running kernel was built with > -DDEVFS, other than trying to mount -t devfs ? (i.e a way that > doesn't require root privs? sysctl -a is of no use here. Access everything, and if you get an EXNIO or one of you peripherals can't be accessed because the node was never created, then you're not running DEVFS. 8-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.