From owner-freebsd-hackers Wed Nov 26 16:50:51 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id QAA04912 for hackers-outgoing; Wed, 26 Nov 1997 16:50:51 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from alpo.whistle.com (alpo.whistle.com [207.76.204.38]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id QAA04903 for ; Wed, 26 Nov 1997 16:50:46 -0800 (PST) (envelope-from julian@whistle.com) Received: (from daemon@localhost) by alpo.whistle.com (8.8.5/8.8.5) id QAA01487; Wed, 26 Nov 1997 16:39:35 -0800 (PST) Received: from UNKNOWN(), claiming to be "current1.whistle.com" via SMTP by alpo.whistle.com, id smtpd001485; Wed Nov 26 16:39:30 1997 Date: Wed, 26 Nov 1997 16:37:18 -0800 (PST) From: Julian Elischer To: Julian Assange cc: hackers@freebsd.org Subject: Re: detecting devfs from userland? In-Reply-To: <19971126232220.5569.qmail@iq.org> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk at the moment, there is a line in the output of mount that looks like: devfs on dummy_mount (local) even if you haven't mounted it, as there is always the kernel's internal mountpoint which you can't get to, but which is not optional. also there is a line in the dmesg saying: DEVFS: ready to run. (or similar) On 26 Nov 1997, Julian Assange wrote: > > 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. > > Cheers, > Julian. >