From: Allan Gottlieb <gottlieb@nyu.edu>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] A little light relief from endless problems
Date: Sun, 01 Mar 2009 14:03:28 -0500 [thread overview]
Message-ID: <yu9myc56p6n.fsf@nyu.edu> (raw)
In-Reply-To: <49AABCA0.7060603@konstantinhansen.de> (KH's message of "Sun, 01 Mar 2009 17:49:36 +0100")
At Sun, 01 Mar 2009 17:49:36 +0100 KH <gentoo-user@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
next prev parent reply other threads:[~2009-03-01 19:03 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-01 11:47 [gentoo-user] A little light relief from endless problems Peter Humphrey
2009-03-01 11:57 ` [gentoo-user] " Nikos Chantziaras
2009-03-01 14:17 ` Allan Gottlieb
2009-03-01 14:27 ` Nikos Chantziaras
2009-03-01 16:51 ` Allan Gottlieb
2009-03-01 17:14 ` Nikos Chantziaras
2009-03-01 16:49 ` [gentoo-user] " KH
2009-03-01 19:03 ` Allan Gottlieb [this message]
2009-03-02 7:09 ` Momesso Andrea
2009-03-02 10:52 ` Peter Humphrey
2009-03-02 11:41 ` Neil Bothwick
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yu9myc56p6n.fsf@nyu.edu \
--to=gottlieb@nyu.edu \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox