From owner-freebsd-rc@FreeBSD.ORG Mon Nov 8 13:42:00 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 373E916A4CE; Mon, 8 Nov 2004 13:42:00 +0000 (GMT) Received: from rosebud.otenet.gr (rosebud.otenet.gr [195.170.0.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6F2F343D53; Mon, 8 Nov 2004 13:41:59 +0000 (GMT) (envelope-from keramida@ceid.upatras.gr) Received: from orion.daedalusnetworks.priv (aris.bedc.ondsl.gr [62.103.39.226])iA8Dffsa027342; Mon, 8 Nov 2004 15:41:50 +0200 Received: from orion.daedalusnetworks.priv (orion [127.0.0.1]) iA8DfY9P038309; Mon, 8 Nov 2004 15:41:34 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Received: (from keramida@localhost)iA8DfWao038308; Mon, 8 Nov 2004 15:41:32 +0200 (EET) (envelope-from keramida@ceid.upatras.gr) Date: Mon, 8 Nov 2004 15:41:32 +0200 From: Giorgos Keramidas To: "Simon L. Nielsen" Message-ID: <20041108134132.GA38278@orion.daedalusnetworks.priv> References: <20041108005007.GB57736@gothmog.gr> <20041108105120.GA952@orion.daedalusnetworks.priv> <20041108110105.GD756@zaphod.nitro.dk> <20041108114726.GA16509@orion.daedalusnetworks.priv> <20041108133051.GC24926@orion.daedalusnetworks.priv> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041108133051.GC24926@orion.daedalusnetworks.priv> 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 13:42:00 -0000 On 2004-11-08 15:30, Giorgos Keramidas wrote: > On 2004-11-08 13:47, Giorgos Keramidas wrote: > > 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. > > Done, see below. > > Another tunable option that some users might find interesting at times is the > softupdates support for the memory disks. [...] Hmmm, now that I look at the changes to mound_md() again, I don't like the way it's headed. Would it make more sense to add a tmpmfs_flags="" variable that would surpass both the bytes-per-inode and the ones I tried adding? This introduces an incompatibility with the current state of mount_md(), but it's easily extensible to include other options of mdmfs without having to invent new funny ways of passing options to mdmfs through the rc.d scripts.