From owner-freebsd-hackers Wed Jul 24 23:14:35 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id XAA20118 for hackers-outgoing; Wed, 24 Jul 1996 23:14:35 -0700 (PDT) Received: from root.com (implode.root.com [198.145.90.17]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id XAA20107 for ; Wed, 24 Jul 1996 23:14:32 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by root.com (8.7.5/8.6.5) with SMTP id XAA20054; Wed, 24 Jul 1996 23:14:32 -0700 (PDT) Message-Id: <199607250614.XAA20054@root.com> X-Authentication-Warning: implode.root.com: Host localhost [127.0.0.1] didn't use HELO protocol To: Julian Elischer cc: phk@critter.tfs.com (Poul-Henning Kamp), hackers@FreeBSD.ORG Subject: Re: DEVFS In-reply-to: Your message of "Wed, 24 Jul 1996 15:32:39 PDT." <199607242232.PAA07400@shrimp.whistle.com> From: David Greenman Reply-To: dg@root.com Date: Wed, 24 Jul 1996 23:14:32 -0700 Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> + >> + /* Try to mount devfs */ >> + mount(MOUNT_DEVFS, "/dev", MNT_NOEXEC|MNT_RDONLY, 0); >ok, that's a good start. You can even do it later than that.. in >/etc/fstab is almost good enough.. >I was actually wondering if it could be done at the same time >as / is mounted.. I'd actually like to see this done in the kernel when "root" is initially mounted read-only. -DG David Greenman Core-team/Principal Architect, The FreeBSD Project