1 |
On Monday 02 March 2009 07:09:31 Momesso Andrea wrote: |
2 |
> On Sun, Mar 01, 2009 at 02:03:28PM -0500, Allan Gottlieb wrote: |
3 |
> > At Sun, 01 Mar 2009 17:49:36 +0100 KH <gentoo-user@××××××××××××××××.de> |
4 |
wrote: |
5 |
> > > Peter Humphrey schrieb: |
6 |
> > >> As it's Sunday, here's an odd little thing. |
7 |
> > >> |
8 |
> > >> Not long ago, while booting this machine, four ext3 partitions |
9 |
> > >> needed checks on remount count reaching zero. They had been set to |
10 |
> > >> 23, 24, 25 and 26 mounts. (I didn't choose the numbers; they were |
11 |
> > >> allocated at the time I was creating the file system.) |
12 |
> > >> |
13 |
> > >> Now, this box does get rebooted, but hardly 23 x 24 x 25 x 26 = |
14 |
> > >> 358,800 times all told. At, say, two reboots per day, that would |
15 |
> > >> take rather a long time: a little under 500 years if my arithmetic |
16 |
> > >> is working. |
17 |
> > > |
18 |
> > > Hi, |
19 |
> > > |
20 |
> > > this is incorrect. 179400 mounts would be enough (24 and 26 can both |
21 |
> > > be divided by 2). |
22 |
|
23 |
I wasn't sure how to allow for this common factor, so I ignored it. Thanks |
24 |
for the clarification. And no, 250 years is not a lot more credible than |
25 |
500! So you might say my error was not significant. |
26 |
|
27 |
> > Correct. I erred in saying that 23,24,25,26 are relatively prime as |
28 |
> > you noted. In general if it was a1,a2,...an the answer would be |
29 |
> > LCM(a1,a2,...,an), where LCM abbreviates Least Common Multiple. |
30 |
> > |
31 |
> > allan |
32 |
|
33 |
Nicely put. |
34 |
|
35 |
> What about battery? If that's a laptop checks are deferred if running on |
36 |
> battery at boot time, so it can happen that all the partitions are |
37 |
> fscked the first time you boot on AC. |
38 |
|
39 |
It isn't a laptop. It's an ordinary desktop box (or a workstation, depending |
40 |
on your point of view: it was sold as a workstation - and it certainly |
41 |
makes enough noise for one). |
42 |
|
43 |
And the other contribution, about manual mounting, is also a red herring. If |
44 |
anyone thinks I contributed a hundred thousand operations to the total, |
45 |
they need to spend a little time in a quiet room :-) |
46 |
|
47 |
-- |
48 |
Rgds |
49 |
Peter |