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 1Ldqwp-0003oF-V6 for garchives@archives.gentoo.org; Sun, 01 Mar 2009 19:03:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9DA41E02D3; Sun, 1 Mar 2009 19:03:34 +0000 (UTC) Received: from smtp.cs.nyu.edu (SMTP.CS.NYU.EDU [128.122.80.33]) by pigeon.gentoo.org (Postfix) with ESMTP id 7C63EE02D3 for ; Sun, 1 Mar 2009 19:03:34 +0000 (UTC) Received: from ajglap.localdomain (ool-4578da1c.dyn.optonline.net [69.120.218.28]) (authenticated bits=0) by smtp.cs.nyu.edu (8.14.3/8.13.8) with ESMTP id n21J3Yht022074 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sun, 1 Mar 2009 14:03:34 -0500 (EST) Received: by ajglap.localdomain (Postfix, from userid 1502) id CC60919D922; Sun, 1 Mar 2009 14:03:28 -0500 (EST) From: Allan Gottlieb To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] A little light relief from endless problems References: <200903011147.09719.peter@humphrey.ukfsn.org> <49AABCA0.7060603@konstantinhansen.de> Date: Sun, 01 Mar 2009 14:03:28 -0500 In-Reply-To: <49AABCA0.7060603@konstantinhansen.de> (KH's message of "Sun, 01 Mar 2009 17:49:36 +0100") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.91 (gnu/linux) 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: text/plain; charset=us-ascii X-Archives-Salt: 5aec17cd-d497-470c-8f94-55939e53ebcf X-Archives-Hash: 700c8c228c4310da64c645b60d0bbc8d At Sun, 01 Mar 2009 17:49:36 +0100 KH wrote: > Peter Humphrey schrieb: >> As it's Sunday, here's an odd little thing. >> >> Not long ago, while booting this machine, four ext3 partitions needed checks >> on remount count reaching zero. They had been set to 23, 24, 25 and 26 >> mounts. (I didn't choose the numbers; they were allocated at the time I was >> creating the file system.) >> >> Now, this box does get rebooted, but hardly 23 x 24 x 25 x 26 = 358,800 >> times all told. At, say, two reboots per day, that would take rather a long >> time: a little under 500 years if my arithmetic is working. >> >> > Hi, > > this is incorrect. 179400 mounts would be enough (24 and 26 can both be > divided by 2). Correct. I erred in saying that 23,24,25,26 are relatively prime as you noted. In general if it was a1,a2,...an the answer would be LCM(a1,a2,...,an), where LCM abbreviates Least Common Multiple. allan