Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Nov 2004 13:47:26 +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:  <20041108114726.GA16509@orion.daedalusnetworks.priv>
In-Reply-To: <20041108110105.GD756@zaphod.nitro.dk>
References:  <20041108005007.GB57736@gothmog.gr> <20041108105120.GA952@orion.daedalusnetworks.priv> <20041108110105.GD756@zaphod.nitro.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

> 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#



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