From owner-freebsd-arm@FreeBSD.ORG Tue Mar 4 14:49:03 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 7273EA87 for ; Tue, 4 Mar 2014 14:49:03 +0000 (UTC) Received: from mail-ie0-f179.google.com (mail-ie0-f179.google.com [209.85.223.179]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 39B0CE45 for ; Tue, 4 Mar 2014 14:49:02 +0000 (UTC) Received: by mail-ie0-f179.google.com with SMTP id lx4so2477330iec.10 for ; Tue, 04 Mar 2014 06:48:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:content-type:mime-version:subject:from :in-reply-to:date:cc:content-transfer-encoding:message-id:references :to; bh=i0Vuz2pilFUmPAOUEhkbaJQV7jNP5F/Nn+GX8DMJZ/k=; b=Y5D+KGVDV0lc3hyBwoPh8rgUgvgVf+PFGmWVOekDnAlvUUHZJUHbggBcJXUlZ8D0H5 3mAZ1rcAVijHGeLvhQfwdzVNfm12UH4dmk7xBlknCCePMp0RuUztP8lEmKBE2RMaSqz5 l5JXOW+E11tXXH+BRZbsi/5uABwek3LGMbf86XjwNKz4+BLV879VlJ5piWZC6H4WJc98 c2QfS7L05/sOrisvh9HUCC7AVgUmVO/HCtB+KtLvgLACxEigHjnpy6Z41cpLOU7SkIsz N5byNFaJW9khRS+xWK5Wqnco1N/PUYXa7L1nVEpL1lIno6RiGfdqoTRwLpFdy75Po792 nmxA== X-Gm-Message-State: ALoCoQmj93Q/kkQYRaDFRpCAuQ0qb/LNpV2JiXimRTmn8ufXS2zykcQF8DFdb+79c6cJHjOe7XdC X-Received: by 10.43.150.80 with SMTP id kn16mr7430357icc.63.1393944535989; Tue, 04 Mar 2014 06:48:55 -0800 (PST) Received: from netflix-mac.bsdimp.com (50-78-194-198-static.hfc.comcastbusiness.net. [50.78.194.198]) by mx.google.com with ESMTPSA id f1sm3262336igy.2.2014.03.04.06.48.55 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 04 Mar 2014 06:48:55 -0800 (PST) Sender: Warner Losh Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: TMPFS in kernels From: Warner Losh In-Reply-To: Date: Tue, 4 Mar 2014 07:48:53 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: References: <5313D0FE.8010008@ceetonetechnology.com> <1393818974.1149.270.camel@revolution.hippie.lan> <5314016B.1000107@ceetonetechnology.com> <20140303061136.GB85204@zibbi.meraka.csir.co.za> To: Jia-Shiun Li X-Mailer: Apple Mail (2.1874) Cc: George Rosamond , "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Mar 2014 14:49:03 -0000 On Mar 4, 2014, at 3:30 AM, Jia-Shiun Li wrote: > On Mon, Mar 3, 2014 at 2:11 PM, John Hay wrote: >> Our embedded systems also use compact flash disks mounted ro. We have >> been (ab)using the nice etc/rc.initdiskless and etc/rc.d/var scripts >> by just having an etc/diskless and populated conf/base and = conf/defaults >> directories. But it seems those scripts just work with md devices. >=20 > I remember hacking it a while ago to adopt tmpfs instead on my pxeboot > test environment. It only requires changing the line mdmfs mounting md = to > 'mount -t tmpfs' (plus mount options), and everything else will work = as usual. I=92ll have to give it a spin on NanoBSD then, at least as an option=85 Warner