At Sun, 01 Mar 2009 17:49:36 +0100 KH <gentoo-u...@konstantinhansen.de> 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