From owner-freebsd-hackers Thu Nov 12 14:34:39 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id OAA02303 for freebsd-hackers-outgoing; Thu, 12 Nov 1998 14:34:39 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from whistle.com (s205m131.whistle.com [207.76.205.131]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id OAA02297 for ; Thu, 12 Nov 1998 14:34:38 -0800 (PST) (envelope-from archie@whistle.com) Received: (from smap@localhost) by whistle.com (8.7.5/8.6.12) id OAA02525; Thu, 12 Nov 1998 14:34:18 -0800 (PST) Received: from bubba.whistle.com(207.76.205.7) by whistle.com via smap (V1.3) id sma002521; Thu Nov 12 14:33:53 1998 Received: (from archie@localhost) by bubba.whistle.com (8.8.7/8.6.12) id OAA20678; Thu, 12 Nov 1998 14:33:53 -0800 (PST) From: Archie Cobbs Message-Id: <199811122233.OAA20678@bubba.whistle.com> Subject: Re: More questions on DEVFS In-Reply-To: from zhihuizhang at "Nov 12, 98 12:17:18 pm" To: bf20761@binghamton.edu Date: Thu, 12 Nov 1998 14:33:52 -0800 (PST) Cc: julian@whistle.com, freebsd-hackers@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL38 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG zhihuizhang writes: > I have a couple of questions on DEVFS which is hard to figure out from the > source code: > > (1) As I understand it, special files can be created only by superuser via > mknod and file systems can only be mounted by superuser. I do not see any > reason why the superuser will mount the device file system multiple times > and possibly at different mount points. You might want to create a chroot()'d sub-space of your filesystem, and put devices in there for example.. -Archie ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message