Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Nov 2004 15:41:32 +0200
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        "Simon L. Nielsen" <simon@freebsd.org>
Cc:        freebsd-rc@freebsd.org
Subject:   Re: RFC (fwd) Re: 5.3 tmpfs mount permissions
Message-ID:  <20041108134132.GA38278@orion.daedalusnetworks.priv>
In-Reply-To: <20041108133051.GC24926@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>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2004-11-08 15:30, Giorgos Keramidas <keramida@freebsd.org> wrote:
> On 2004-11-08 13:47, Giorgos Keramidas <keramida@ceid.upatras.gr> wrote:
> > On 2004-11-08 12:01, "Simon L. Nielsen" <simon@freebsd.org> wrote:
> > > On 2004.11.08 12:51:20 +0200, Giorgos Keramidas wrote:
> > > > On 2004-11-08 02:50, Giorgos Keramidas <keramida@freebsd.org> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041108134132.GA38278>