From owner-freebsd-arm@freebsd.org Mon Mar 28 15:08:26 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 734B4AE044B; Mon, 28 Mar 2016 15:08:26 +0000 (UTC) (envelope-from fbl@aoek.com) Received: from srv56-45.cdn.bestreaming.com (ns330343.ip-37-187-119.eu [37.187.119.94]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "amnesiac", Issuer "amnesiac" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9540D1F98; Mon, 28 Mar 2016 15:08:24 +0000 (UTC) (envelope-from fbl@aoek.com) Received: from mail.yourbox.net (localhost [IPv6:::1]) by srv56-45.cdn.bestreaming.com (8.15.2/8.15.2) with ESMTP id u2SFAwMw064313; Mon, 28 Mar 2016 17:10:58 +0200 (CEST) (envelope-from fbl@aoek.com) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Date: Mon, 28 Mar 2016 17:10:58 +0200 From: =?UTF-8?Q?Jos=C3=A9_P=C3=A9rez?= To: Nikolai Lifanov Cc: freebsd-arm@freebsd.org, owner-freebsd-arm@freebsd.org, freebsd-arm-request@freebsd.org Subject: Re: Official images without noatime In-Reply-To: <4b23b28ffae59216b5dde8f28f665330@mail.lifanov.com> References: <4b23b28ffae59216b5dde8f28f665330@mail.lifanov.com> Message-ID: <813ba9c4a1474478daa86fe685acec21@mail.yourbox.net> X-Sender: fbl@aoek.com User-Agent: Roundcube Webmail/1.1.3 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Mar 2016 15:08:26 -0000 Hello Nikolai, El 2016-03-26 13:32, Nikolai Lifanov escribió: > Since we also default to SU-no-J, power failure can be quite bad > during, say, installworld. Why? I see no relationship between noatime and higer or lower chances to loose files while writing them. > With / noatime, I had my RPI2 lose files like /usr/bin/cmp, /bin/ls, > and /bin/cat during a power loss. Bad luck. But, again, what is the relation with having or not noatime? > Since it's not even possible to cleanly shut down this platform, I'm > for enabling noatime for / on > at least for RPI and RPI2 platforms. My RPI2 shutdown cleanly with shutdown(8) or reboot(8). Based on my experience, the less operations you do with a flash memory, the longer it lives. Don't forget that flash is a technology meant to store large files (images or video) for a few times over the lifespan of a card. Throwing a live filesystem at it is, to say the least, daring. Enabling journaling on flash storage shall be prohibited by law. Let's read again together mount(8) noatime Do not update the file access time when reading from a file. [blablabla] So, when you mount / with noatime, you are: - speeding up your system - extending the life of your flash card. Same chances to loose files. Regards, --- José Pérez