Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Jun 2013 06:16:46 -0700
From:      Jeremy Chadwick <jdc@koitsu.org>
To:        "Matthew D. Fuller" <fullermd@over-yonder.net>
Cc:        freebsd-fs@FreeBSD.org, Dmitry Morozovsky <marck@rinet.ru>
Subject:   Re: /tmp: change default to mdmfs and/or tmpfs?
Message-ID:  <20130609131646.GA37012@icarus.home.lan>
In-Reply-To: <20130609130037.GM61341@over-yonder.net>
References:  <alpine.BSF.2.00.1306091538490.48048@woozle.rinet.ru> <20130609124603.GA35681@icarus.home.lan> <20130609130037.GM61341@over-yonder.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Jun 09, 2013 at 08:00:37AM -0500, Matthew D. Fuller wrote:
> On Sun, Jun 09, 2013 at 05:46:03AM -0700 I heard the voice of
> Jeremy Chadwick, and lo! it spake thus:
> > 
> > 1. grep -r tmpfs /etc returns nothing, so I don't know where this magic
> > comes from,
> 
> Remembering the second 'm' in tmpmfs   8-}
> 
> 
> > 2. tmpfs(5) documents none of these flags, and the flags you've given
> > cannot be mdconfig(8) flags because:
> 
> Which is why they're mdmfs(8) flags (/etc/rc.d/tmp -> mount_md from
> rc.subr -> mdmfs).

Thank you -- the magic has been discovered!  ;-)  I had never heard of
mdmfs(8) until now (mdconfig(8) sure, mdmfs(8) nope).

Looking at the source, this thing is just a "fancy wrapper" written in
C, using mdconfig(8) and newfs(8), as well as geom_uzip(4) (which I also
didn't know about until now) in some manner (not sure how that fits
into the puzzle).  I guess it's mainly a program for convenience.

-- 
| Jeremy Chadwick                                   jdc@koitsu.org |
| UNIX Systems Administrator                http://jdc.koitsu.org/ |
| Making life hard for others since 1977.             PGP 4BD6C0CB |




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