From owner-freebsd-fs@FreeBSD.ORG Sun Jun 9 13:17:01 2013 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id CF63CFD9 for ; Sun, 9 Jun 2013 13:17:01 +0000 (UTC) (envelope-from jdc@koitsu.org) Received: from relay3-d.mail.gandi.net (relay3-d.mail.gandi.net [217.70.183.195]) by mx1.freebsd.org (Postfix) with ESMTP id 8CACA198D for ; Sun, 9 Jun 2013 13:17:01 +0000 (UTC) Received: from mfilter3-d.gandi.net (mfilter3-d.gandi.net [217.70.178.133]) by relay3-d.mail.gandi.net (Postfix) with ESMTP id 7F4A4A80D0; Sun, 9 Jun 2013 15:16:50 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mfilter3-d.gandi.net Received: from relay3-d.mail.gandi.net ([217.70.183.195]) by mfilter3-d.gandi.net (mfilter3-d.gandi.net [10.0.15.180]) (amavisd-new, port 10024) with ESMTP id GvWTETafvw6Z; Sun, 9 Jun 2013 15:16:48 +0200 (CEST) X-Originating-IP: 76.102.14.35 Received: from jdc.koitsu.org (c-76-102-14-35.hsd1.ca.comcast.net [76.102.14.35]) (Authenticated sender: jdc@koitsu.org) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id 47B63A80C4; Sun, 9 Jun 2013 15:16:48 +0200 (CEST) Received: by icarus.home.lan (Postfix, from userid 1000) id 8EC7773A1C; Sun, 9 Jun 2013 06:16:46 -0700 (PDT) Date: Sun, 9 Jun 2013 06:16:46 -0700 From: Jeremy Chadwick To: "Matthew D. Fuller" Subject: Re: /tmp: change default to mdmfs and/or tmpfs? Message-ID: <20130609131646.GA37012@icarus.home.lan> References: <20130609124603.GA35681@icarus.home.lan> <20130609130037.GM61341@over-yonder.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130609130037.GM61341@over-yonder.net> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: freebsd-fs@FreeBSD.org, Dmitry Morozovsky X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Jun 2013 13:17:01 -0000 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 |