From owner-freebsd-rc@FreeBSD.ORG Mon Nov 8 11:48:42 2004 Return-Path: Delivered-To: freebsd-rc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7BE7616A4CE; Mon, 8 Nov 2004 11:48:42 +0000 (GMT) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6B18243D2D; Mon, 8 Nov 2004 11:48:40 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])iA8Bm597028583; Mon, 8 Nov 2004 13:48:24 +0200 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) iA8BlfBj035700; Mon, 8 Nov 2004 13:47:41 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost)iA8BlQlh035531; Mon, 8 Nov 2004 13:47:26 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 8 Nov 2004 13:47:26 +0200 From: Giorgos Keramidas To: "Simon L. Nielsen" Message-ID: <20041108114726.GA16509@orion.daedalusnetworks.priv> References: <20041108005007.GB57736@gothmog.gr> <20041108105120.GA952@orion.daedalusnetworks.priv> <20041108110105.GD756@zaphod.nitro.dk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041108110105.GD756@zaphod.nitro.dk> cc: freebsd-rc@freebsd.org Subject: Re: RFC (fwd) Re: 5.3 tmpfs mount permissions X-BeenThere: freebsd-rc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to /etc/rc.d design and implementation. List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Nov 2004 11:48:42 -0000 On 2004-11-08 12:01, "Simon L. Nielsen" wrote: > On 2004.11.08 12:51:20 +0200, Giorgos Keramidas wrote: > > On 2004-11-08 02:50, Giorgos Keramidas wrote: > > > Hi, > > > > > > Does the change outlined below seem like something I should commit? > > > > The patch posted previously had a few obvious bugs. Here's an updated > > version, which I have tested too :-) > > For consistency shouldn't the same be done for a /var MFS? You're probably right. I saw varmfs near tmpfs in the rc.conf.5 manpage and thought about adding varoptions="" to rc.conf too. It's not very difficult, now that I found out how to do it for tmpfs. > Other than that it looks really good to me (though I haven't tested it > and cannot provide a src/ rubber approval stamp :-) ). I tested it on my personal workstation at work. It seemed to work as expected with a 20m mfs /tmp. orion# mount /dev/ad0s1a on / (ufs, local) devfs on /dev (devfs, local) /dev/ad0s4g on /home (ufs, NFS exported, local, soft-updates) /dev/ad0s4f on /usr (ufs, local, soft-updates) /dev/ad0s4e on /var (ufs, local, soft-updates) /dev/md1 on /tmp (ufs, local, nodev, noexec, nosuid, soft-updates) orion#