Gentoo Archives: gentoo-user

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

Replies

Subject Author
Re: [gentoo-user] A little light relief from endless problems Peter Humphrey <peter@××××××××××××××.org>