From owner-freebsd-arm@FreeBSD.ORG Tue Jul 1 09:43:54 2014 Return-Path: Delivered-To: freebsd-arm@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 AFBFE2BA for ; Tue, 1 Jul 2014 09:43:54 +0000 (UTC) Received: from mail-oa0-x22e.google.com (mail-oa0-x22e.google.com [IPv6:2607:f8b0:4003:c02::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 7896D2B4B for ; Tue, 1 Jul 2014 09:43:54 +0000 (UTC) Received: by mail-oa0-f46.google.com with SMTP id m1so10158753oag.19 for ; Tue, 01 Jul 2014 02:43:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=/8rzmNCP5/qd7HmLmhtSNTQCRLuFtHMggX0Uqrt1w20=; b=mquTAD4rReqYeX9BJFrYBbm49Ye9c3L54JXNV4YhfdsAfZcWXPZwxhESWxBK5MjLgB scl/kS39jzrh7YsT4NLGU/1S9ob9etUPbwOf4P1aRWDiAz/Sjb0rWhpbp7OX32u3BcX6 O1keos/BMHVn2CKKQt/LB5hqiHu1l+xN18roUNoZcGD9BjslCvQFAasVrZ6pfC0Ej5rU cX0DNgRlPVgL3o9TAkUrFvx/MWFtwq37AkuIUSYNtO7KoUPMnatnvzaYS5fr1ULxAF8Y 5f2bzBx23EujtOQwg0tQkDZpaf4xmNCKcphRm3oZXivAHayKYLRZ9Y8kjIKC/B/sbynD xrYQ== MIME-Version: 1.0 X-Received: by 10.182.96.71 with SMTP id dq7mr48166848obb.42.1404207833849; Tue, 01 Jul 2014 02:43:53 -0700 (PDT) Sender: r.c.ladan@gmail.com Received: by 10.182.146.46 with HTTP; Tue, 1 Jul 2014 02:43:53 -0700 (PDT) In-Reply-To: <201407010925.s619PHeT006679@mech-cluster241.men.bris.ac.uk> References: <201407010925.s619PHeT006679@mech-cluster241.men.bris.ac.uk> Date: Tue, 1 Jul 2014 11:43:53 +0200 X-Google-Sender-Auth: FaBYt6mhDm562Gur7kV_XwzReto Message-ID: Subject: Re: /tmp, /var/log, /var/tmp as /dev/md - why? From: =?UTF-8?Q?Ren=C3=A9_Ladan?= To: mexas@bris.ac.uk Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.18 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jul 2014 09:43:54 -0000 2014-07-01 11:25 GMT+02:00 Anton Shterenlikht : > Why is it a good idea to mount /tmp and some var dirs on memory disks: > > root@raspberry-pi:/usr/ports # df -m > Filesystem 1M-blocks Used Avail Capacity Mounted on > /dev/mmcsd0s2a 14694 777 12742 6% / > devfs 0 0 0 100% /dev > /dev/mmcsd0s1 16 3 13 20% /boot/msdos > /dev/md0 28 4 22 16% /tmp > /dev/md1 14 0 12 0% /var/log > /dev/md2 4 0 4 0% /var/tmp > root@raspberry-pi:/usr/ports # > > Is this about speed or power, or maybe space? > > Mostly write tear because you're using an SD card, and it improves speed too. > Can I not put all these dirs on sd card? > > You could, but see above. > I'm new to arm, so maybe things are different > to other arches. > Regards, Ren=C3=A9