Gentoo Archives: gentoo-user

From: Allan Gottlieb <gottlieb@×××.edu>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] A little light relief from endless problems
Date: Sun, 01 Mar 2009 19:03:36
Message-Id: yu9myc56p6n.fsf@nyu.edu
In Reply to: Re: [gentoo-user] A little light relief from endless problems by KH
1 At Sun, 01 Mar 2009 17:49:36 +0100 KH <gentoo-user@××××××××××××××××.de> wrote:
2
3 > Peter Humphrey schrieb:
4 >> As it's Sunday, here's an odd little thing.
5 >>
6 >> Not long ago, while booting this machine, four ext3 partitions needed checks
7 >> on remount count reaching zero. They had been set to 23, 24, 25 and 26
8 >> mounts. (I didn't choose the numbers; they were allocated at the time I was
9 >> creating the file system.)
10 >>
11 >> Now, this box does get rebooted, but hardly 23 x 24 x 25 x 26 = 358,800
12 >> times all told. At, say, two reboots per day, that would take rather a long
13 >> time: a little under 500 years if my arithmetic is working.
14 >>
15 >>
16 > Hi,
17 >
18 > this is incorrect. 179400 mounts would be enough (24 and 26 can both be
19 > divided by 2).
20
21 Correct. I erred in saying that 23,24,25,26 are relatively prime as you
22 noted. In general if it was a1,a2,...an the answer would be
23 LCM(a1,a2,...,an), where LCM abbreviates Least Common Multiple.
24
25 allan

Replies

Subject Author
Re: [gentoo-user] A little light relief from endless problems Momesso Andrea <momesso.andrea@×××××.com>