Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Nov 1997 22:59:16 +0000 (GMT)
From:      Terry Lambert <tlambert@primenet.com>
To:        proff@iq.org (Julian Assange)
Cc:        hackers@freebsd.org
Subject:   Re: detecting devfs from userland?
Message-ID:  <199711272259.PAA14136@usr07.primenet.com>
In-Reply-To: <19971126232220.5569.qmail@iq.org> from "Julian Assange" at Nov 26, 97 11:22:20 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199711272259.PAA14136>