From owner-freebsd-current Thu Dec 5 23:16:34 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id XAA02078 for current-outgoing; Thu, 5 Dec 1996 23:16:34 -0800 (PST) Received: from tfs.com (tfs.com [140.145.250.1]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id XAA02073 for ; Thu, 5 Dec 1996 23:16:31 -0800 (PST) Received: from critter.tfs.com by tfs.com (smail3.1.28.1) with SMTP id m0vVuVX-0003xjC; Thu, 5 Dec 96 23:15 PST Received: from critter.tfs.com (localhost.phk.dk [127.0.0.1]) by critter.tfs.com (8.8.2/8.8.2) with ESMTP id IAA08267; Fri, 6 Dec 1996 08:16:53 +0100 (MET) To: Paulo Menezes cc: current@freebsd.org Subject: Re: mount_mfs In-reply-to: Your message of "Thu, 05 Dec 1996 23:03:27 GMT." Date: Fri, 06 Dec 1996 08:16:53 +0100 Message-ID: <8265.849856613@critter.tfs.com> From: Poul-Henning Kamp Sender: owner-current@freebsd.org X-Loop: FreeBSD.org Precedence: bulk In message , Paulo Menezes wri tes: > >Hi, > >In one of our student labs I installed 4 486DX33 Machines as X-terminals. >They are using netboot and share the same tree. I would like to make them >mount the root filesystem readonly but the Xserver complains that need to >create locks in /tmp. >This could be simply solved by creating a "ramdisk" and mounting it in >/tmp. I digged in the man pages for mount_mfs but I couldn't figure how to >create an fstab entry for this. Can someone give me an example on >how-to-do-this? What I do is this: server:/somewhere/machine/root mounted ro on / server:/somewhere/machine/usr mounted ro on /usr server:/somewhere/machine/`hostname -s`/var mounted rw on /var server:/somewhere/machine/`hostname -s`/etc mounted rw on /etc server:/somewhere/machine/`hostname -s`/tmp mounted rw on /tmp -- Poul-Henning Kamp | phk@FreeBSD.ORG FreeBSD Core-team. http://www.freebsd.org/~phk | phk@login.dknet.dk Private mailbox. whois: [PHK] | phk@tfs.com TRW Financial Systems, Inc. Power and ignorance is a disgusting cocktail.