From owner-freebsd-arm@FreeBSD.ORG Tue Jul 1 10:46:50 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 C4C14FCE for ; Tue, 1 Jul 2014 10:46:50 +0000 (UTC) Received: from eu1sys200aog134.obsmtp.com (eu1sys200aog134.obsmtp.com [207.126.144.211]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2195A204D for ; Tue, 1 Jul 2014 10:46:49 +0000 (UTC) Received: from mail-wg0-f46.google.com ([74.125.82.46]) (using TLSv1) by eu1sys200aob134.postini.com ([207.126.147.11]) with SMTP ID DSNKU7KRfhNLPa8J7T9hoqTHGapbG1t7zKdL@postini.com; Tue, 01 Jul 2014 10:46:50 UTC Received: by mail-wg0-f46.google.com with SMTP id y10so9438615wgg.17 for ; Tue, 01 Jul 2014 03:46:22 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:message-id:to:subject:cc:reply-to :in-reply-to; bh=ZkvhC9g7IRt2+sLERqUvWP0OOaqazdH2wNt8cY+GSgw=; b=JxBusodoroIcWhAXDHinwyGZsHxM3FAN+fqi+S6rtDnLdNcKO6I14cKqJYEVBbOQKf bViVF/C+0wVZljsqP4W7/n/lBYYIr4bwd4twFoV2s0RbtdwKAWaDKUcpLf/6O/PffwJ1 AOYDO7tI0brz4CRLb32mYas6+iwh5TTfG58Z7hW7i/qwVbG5/PKz6ELkaaWCQhIVrvta XjlisvwIUGnL19tSEIhEoWLwekw1IHz9Tl/fD4usTKGu1yuXM5uOx9gKeXDra+f9jEXo v1F1tD0D7CFDHn2T8cw6u3uCzaU2z+qWtQUz+mmd8kdaOmB3wQwYdAmqdG4Wf6tC8PLh ltrw== X-Received: by 10.194.10.69 with SMTP id g5mr2298224wjb.116.1404211582073; Tue, 01 Jul 2014 03:46:22 -0700 (PDT) X-Gm-Message-State: ALoCoQlQ8ojlmEyytWvF/2C7GQ/8dwQSTgH8hYbuKmFEUitsg9iTqgq3moO5pwlM3BpNcCv367qgc3VSfiDw3X3QMv7uMX2cCGkz6OGs1QYOkKdLWjxiLQh1NGTHkuNJNL7o7CtALSt2 X-Received: by 10.194.10.69 with SMTP id g5mr2298203wjb.116.1404211581926; Tue, 01 Jul 2014 03:46:21 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (mech-cluster241.men.bris.ac.uk. [137.222.187.241]) by mx.google.com with ESMTPSA id q11sm41957402wib.14.2014.07.01.03.46.20 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 Jul 2014 03:46:21 -0700 (PDT) Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.8/8.14.8) with ESMTP id s61AkJZc006891 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 1 Jul 2014 11:46:20 +0100 (BST) (envelope-from mexas@mech-cluster241.men.bris.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.8/8.14.8/Submit) id s61AkJpj006890; Tue, 1 Jul 2014 11:46:19 +0100 (BST) (envelope-from mexas) Date: Tue, 1 Jul 2014 11:46:19 +0100 (BST) From: Anton Shterenlikht Message-Id: <201407011046.s61AkJpj006890@mech-cluster241.men.bris.ac.uk> To: mexas@bris.ac.uk, rene@freebsd.org Subject: Re: /tmp, /var/log, /var/tmp as /dev/md - why? Reply-To: mexas@bris.ac.uk In-Reply-To: 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 10:46:50 -0000 >From r.c.ladan@gmail.com Tue Jul 1 11:37:35 2014 > >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. "write tear"? Is this a joke, or some technical term? I cannot find what it means. I get these messages on the console (well, on hdmi port...): pid ... (svnlite), uid 0 inumber 13 on /tmp: filesystem full If I unmount /tmp from md and leave it on sd card, then I don't see these anymore. What does this mean? Thanks Anton