From owner-freebsd-arch@FreeBSD.ORG Mon Mar 10 10:16:42 2014 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 31F0C191; Mon, 10 Mar 2014 10:16:42 +0000 (UTC) Received: from mail-ob0-x22e.google.com (mail-ob0-x22e.google.com [IPv6:2607:f8b0:4003:c01::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D5F99114; Mon, 10 Mar 2014 10:16:41 +0000 (UTC) Received: by mail-ob0-f174.google.com with SMTP id wo20so6690546obc.5 for ; Mon, 10 Mar 2014 03:16:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=SwVL4hyzFtyCDbIF7z/S0rI7GukauMjo6j/udBKHVis=; b=zWg25xq88IcvIviZtjTjjTiruGpjmyWpE2hGdJdfpG7e3lx+4JG/RYPX9AJloMwLNk E4iDNTdFJdjF9Gb1PHo1Yf217X4uYYgjjdie6vIWeA+xo2GWggIx4d3zQO8AUymNWaRE yQlUxwkFFDkKI/Ndj+vnCGsPZCkx2q1YH/ZN3EehZj2fPiSEcAO09UXYG/bsd3+CghV/ Atn3l0CezcSPzXWHzLEQZMBMmz8pGo/DEKVGC1IVtEBjQoGjEf6c+n5lTyq5YaK+DwoS GWX+eKU3497KSha+g65vK8xeLkmKzUXU9tO+Z186V7TtjV8e0WgcxVy9cNY44X0eEMZZ 6nuQ== X-Received: by 10.182.2.42 with SMTP id 10mr22308obr.73.1394446601158; Mon, 10 Mar 2014 03:16:41 -0700 (PDT) MIME-Version: 1.0 Received: by 10.76.80.194 with HTTP; Mon, 10 Mar 2014 03:16:11 -0700 (PDT) In-Reply-To: <1394300576.1149.413.camel@revolution.hippie.lan> References: <1394148413.1149.348.camel@revolution.hippie.lan> <1394199416.1149.367.camel@revolution.hippie.lan> <1394290468.1149.397.camel@revolution.hippie.lan> <1394300576.1149.413.camel@revolution.hippie.lan> From: Jia-Shiun Li Date: Mon, 10 Mar 2014 18:16:11 +0800 Message-ID: Subject: Re: Teach mdmfs about tmpfs and use tmpfs in rc scripts To: Ian Lepore Content-Type: text/plain; charset=UTF-8 Cc: freebsd-rc@freebsd.org, freebsd-arch X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Mar 2014 10:16:42 -0000 On Sun, Mar 9, 2014 at 1:42 AM, Ian Lepore wrote: > > Part of the reason I jumped on this when you brought it up on the arm > list is because we're heavy users of the readonly rootfs support rc > scripts at $work (and not many people are), so I wanted to make sure the > change wasn't done on the assumption that you can just hard-code tmpfs > in place of md in the rc scripts "and stuff will just keep working". > That's only true for some limited subset of "stuff" and while it's > certainly possible to manually change your rc.conf to match when > upgrading, that's actually hard to do when you're trying to manage > software ranging from freebsd 6 through 11 all with a common config and > build and deployment system. > Does FreeBSD have policy or guideline on how to maintain compatibility? After all, consider the tmpfs case it will be literally neither md nor mfs. That said, guess that is too trivial to bikeshed. Functionally I agree it is good. It maintains compatibility while making use of better tmpfs. Do you plan to commit it? -Jia-Shiun.