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 1Ldmdq-0000Fs-8A for garchives@archives.gentoo.org; Sun, 01 Mar 2009 14:27:42 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D1C89E0253; Sun, 1 Mar 2009 14:27:33 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id B0D57E0253 for ; Sun, 1 Mar 2009 14:27:33 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 49E0064C01 for ; Sun, 1 Mar 2009 14:27:33 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -3.431 X-Spam-Level: X-Spam-Status: No, score=-3.431 required=5.5 tests=[AWL=0.168, BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id N+feD-896jNN for ; Sun, 1 Mar 2009 14:27:27 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 32BBB64BE6 for ; Sun, 1 Mar 2009 14:27:25 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LdmdS-0007GH-U0 for gentoo-user@gentoo.org; Sun, 01 Mar 2009 14:27:18 +0000 Received: from athedsl-55163.home.otenet.gr ([87.203.192.201]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 Mar 2009 14:27:18 +0000 Received: from realnc by athedsl-55163.home.otenet.gr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 01 Mar 2009 14:27:18 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: Nikos Chantziaras Subject: [gentoo-user] Re: A little light relief from endless problems Date: Sun, 01 Mar 2009 16:27:17 +0200 Organization: Lucas Barks Message-ID: References: <200903011147.09719.peter@humphrey.ukfsn.org> 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=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: athedsl-55163.home.otenet.gr User-Agent: Thunderbird 2.0.0.19 (X11/20090215) In-Reply-To: Sender: news X-Archives-Salt: 28df453d-8365-4cff-acad-174913155daf X-Archives-Hash: caaf76fe78b839e040726a3e2a0c3b5d Allan Gottlieb wrote: > At Sun, 01 Mar 2009 13:57:30 +0200 Nikos Chantziaras wrote: > >> Peter Humphrey wrote: >>> 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. >> I think you're confused. 23 means a check each 23 mounts. With 2 >> mounts per day, that's a check every 12 days for the first and second >> disk. > > I think the point is that 23, 24, 25, 26 are relatively prime so that, > if N is initially zero, it takes 23x24x25x26 increments initially for (N > mod 23), ..., (N mod 26) to all again be zero. Why would it matter if they're all zero or not?