From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8EF101382C5 for ; Tue, 26 May 2020 18:27:32 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26E16E096C; Tue, 26 May 2020 18:27:27 +0000 (UTC) Received: from mail.digimed.co.uk (mail.digimed.co.uk [82.69.83.178]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B4B18E0963 for ; Tue, 26 May 2020 18:27:26 +0000 (UTC) Received: from digimed.co.uk (fenchurch.digimed.co.uk [192.168.1.6]) by mail.digimed.co.uk (Postfix) with ESMTPA id A277568CA6 for ; Tue, 26 May 2020 19:27:16 +0100 (BST) Date: Tue, 26 May 2020 19:27:10 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: Gentoo RPi boot to ram or read-only FS? Message-ID: <20200526192710.43b56cdc@digimed.co.uk> In-Reply-To: <276e2f0e-6214-5505-f75d-fc6c365626ab@youngman.org.uk> References: <276e2f0e-6214-5505-f75d-fc6c365626ab@youngman.org.uk> Organization: Digital Media Production X-Mailer: Claws Mail 3.17.5 (GTK+ 2.24.32; x86_64-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/=MeQh8rOZqop+a6ZlXtHNya"; protocol="application/pgp-signature"; micalg=pgp-sha256 X-Archives-Salt: 708b87a9-ddca-4ff5-8c36-f86b4a764bcc X-Archives-Hash: c408d2141c4cbc3925c5545131b4d12d --Sig_/=MeQh8rOZqop+a6ZlXtHNya Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Tue, 26 May 2020 19:14:18 +0100, antlists wrote: > > That's the Gentoo version that I'm using. But I'm looking for a way > > to make it bullet-proof to having the plug=C2=A0pulled. =20 >=20 > Don't use an SD card? Seriously, pulling the power on an SD card has=20 > been known to corrupt it beyond recovery. BUT. Mounting the card with sync will significantly reduce the likelihood of corruption, at a cost of reduced life.=20 > Is the big worry that the home directory will get corrupted etc etc? I=20 > don't know if you can partition an SD card, but look at doing a=20 > kiosk-style install with the OS protected and read-only. Then look at=20 > sticking a loopback device on top of home, so that any changes exist=20 > only in ram, and are lost on shutdown. Hopefully, that means you now=20 > have a system that can boot and run off a write-protected SD card :-) This will mitigate the reduced life as you are hardly writing to the card. Booting from a read-only / has caused problems for me in the past, because of the inability to write to /etc. --=20 Neil Bothwick Politically Incorrect -- and damn proud of it! --Sig_/=MeQh8rOZqop+a6ZlXtHNya Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE8k9T/rX16EJxEKG692eFu0QSMJgFAl7NX34ACgkQ92eFu0QS MJhM+g/+NWck2Nj4h++GPWeyVYJqzlDv+aJci22xo6bIEK04sNZ6Qi+sE/cI7VRZ yzYn6LSloTk8XwbCA328gmgmR1E0p5c6vfhM0j3yNWM2U7KQ9o6NTCbzVZRJvvYw jrHovKd8ayRa95EpxP/XphsbdbXbEm2VPOhO0XVO+74RbPDiaCkTp60fW/syYLaH LhxLFSrD2XmdCMeL6qB1LnnSzCvyinGHie4YoNa0xb9Fy2nrqrUMxAE2b1phgQUo 31I6hER8eeoRTJLbcraN+SyiB6ZYqgTr6WgntG1nQT4KQIF2RBltqP5nUqju/uZx rpDUEvklBwvvkDG7MRSeDcnTpSw7awyR1pQr+sne5m5anNHYMDEeIvKduAN0VLUp J8asoDwjwY0LqWEDOTYE5sIPxtan3sVnKcguZX8fUJLxXJrCu+V3F1E3uRul61x0 pLC/LV/ETv2v3B2UyPe/qmAJqOHWf/7db4uNAxY/fhzT+YqdFi5HfpRCThQErBb0 GDzptbWbQ9UCM7BqhLhiZhEksJ+PnSRQMu2wDou0B/ovB+FoCWLoYx3dlA7jVMLH GzTymj1WTsq08hAYN2g+Qh/wm4WHzG/g7kwBB7OGbRBk6RM3exRvh66bEPxmhCIM KXohXyeOqTyyCLMh71UxmEJVbfHAiYT5T/blGhLacX4I8pUdAZU= =s2/b -----END PGP SIGNATURE----- --Sig_/=MeQh8rOZqop+a6ZlXtHNya--