From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KjLRf-0002Dg-LJ for garchives@archives.gentoo.org; Fri, 26 Sep 2008 22:05:51 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 52599E0401; Fri, 26 Sep 2008 22:05:50 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id C50D5E0401 for ; Fri, 26 Sep 2008 22:05:49 +0000 (UTC) Received: from digimed.co.uk (krikkit.digimed.co.uk [192.168.1.3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.digimed.co.uk (Postfix) with ESMTPSA id 351F43C94BD for ; Fri, 26 Sep 2008 23:05:48 +0100 (BST) Date: Fri, 26 Sep 2008 23:05:41 +0100 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: CF and Gentoo Message-ID: <20080926230541.7fdefb20@digimed.co.uk> In-Reply-To: References: <20080925223817.68db0f4c@zaphod.digimed.co.uk> Organization: Digital Media Production X-Mailer: Claws Mail 3.5.0cvs126 (GTK+ 2.12.12; i686-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEX///9/OBwcKrgODnFG1FTxxqqqxpxGOBwOnA7/1dQOHBxiVH8OABwOVA4Of3G4cXD8PZSwAAAAAXRSTlMAQObYZgAAAhZJREFUOI2l082L00AUAPAcbLS7isypB4VC8w+Iubl78JDDeAj0UnC91KKIomCL2MEa6CWHQRjYgygLwi4IroQIpSCiu0KlsILOooeuW1vmT1jYHtawsDJOJh/9SHPyQUgyP+a9mZeMovxHqPU0OSimwN2fc4df3Dnzy7iWHL+NMe6xq8nKEEKC7ZvJCbZtEBsPExMMo+cDm61/CppyBtlPZDINCWymimETA0qYzqVCg4Xwe7qEGQJmezO1YR/Og+d2DNM1rtuQ2ZD0ktDDA+zD9HLvbx308eAtZH1C2McJeLrlCtg1h58JcWl1DKhBGR58Mx/+NZ9RfTlOlkVXdt+RfWTVPUS7ur40BtRhePig+cSzqC6iFcFmo3MO752ucWDpmi8xOB0VbmRq3Ltc0Lviao1BMYtKJZ9ra8sCtEshOM5G5r1oMSi2NSqgoMdQVcS/lj1auUXdCVBR4829NUUplconnVc+aEERgJwvAKBas8TpzlkJQRGEXARE5Mve17pKfQj2eIIc6sdjfpHuLMgZQZFswz1eE1EeWT+qj8S4gFUJr91DeV9ZX7e6BQmtYLlu2NDzOUr19iSEJ6aSa3JuLcV93HRXAwD5Eud8W7Q+SIGssJ3gyAfudcOtf4igIjbvy/b34P1GBBkJI3DhMHhfiCArM4kmhKtcjCEcP46+uhM9qKMRyP8ZH/dPSkq8TIPFNJgX/wBV+wZAZEipVgAAAABJRU5ErkJggg== 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 Mime-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/dCcHNmDw8GSL3tG3t_T6F9o"; protocol="application/pgp-signature"; micalg=PGP-SHA1 X-Archives-Salt: d096d9af-57c9-49fe-a792-3086214fe94e X-Archives-Hash: 5ca2e13a001d8e9bde688137d0fbf5a5 --Sig_/dCcHNmDw8GSL3tG3t_T6F9o Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 26 Sep 2008 18:21:06 +0000 (UTC), James wrote: > > Bear in mind the limited write lifetime of flash memory. Don't > > put /var or /tmp on such a card if you can avoid it. >=20 > Well, I'm not sure any other alternatives are attractive? Unless > I find a way to mount those partitions off of a usb stick, or > some other idea? >=20 > Since they are not frequently updated and have minimal installed > software (iptables on firewalls and DNS on DNS servers) accompanied by > the fact that most devices have internal wear leveling; it should take > many years to reach the write cycle limits? What about /var/log? The various logfiles are written very frequently. Could you NFS mount this from somewhere else? I wouldn't rely on wear levelling in a CF card, only on an SSDdrive. > > http://linitx.com/viewproduct.php?prodid=3D10448 >=20 > very cool! exactly what I could not find. I used one of their adaptors to run a MythTV frontend from CF, although it netboots now. I used a variation on a live CD setup, so the card was not written to. > > You could dd the card to a file and use the same file every time you > > need a new card. >=20 > Um I do not mean to be a pain, but could you provide a little bit > of pseudo-syntax? Assume I have shutdown a 4 GB CF firewall card > and moved it to a reader/writer on another machine. First I need > to format the raw (new) 4GB CF card from a reader. >=20 > /media/sdb1 shows up, but when I run 'fdisk /media/sdb1' I get: >=20 > last_lba(): I don't know how to handle files with mode 40755 > You will not be able to write the partition table. /media/sdb1 is the mount point, not the device node. Use dd if=3D/dev/sdb of=3DCF.img bs=3D4096 to read the card, switch of and if to write a new one. Of course, all the cards have to be the same size. > In the past I have formated the CF cards on the new machine being built, > but I need help figuring out how to do this, from a CF reader/writer > on another machine (thus avoiding a traditional install) ? You don't need to format at all if you dd the whole drive, as that includes the partition table, MBR and the kitchen sink. --=20 Neil Bothwick Rude alert, rude alert! A fire has knocked out my voice recognition unicycle. Many wurlitzers are missing from my database. Abandon shop, abandon shop! This is not a daffodil, repeat, this is not a daffodil! --Sig_/dCcHNmDw8GSL3tG3t_T6F9o Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEARECAAYFAkjdXLsACgkQum4al0N1GQNWHQCeI1IKV9fcHo0gr+TLMwj3H3p/ oN4AmgJ+MRC+ZKnFAGNR9TWyMFaN1n3o =JZdA -----END PGP SIGNATURE----- --Sig_/dCcHNmDw8GSL3tG3t_T6F9o--