RE: Saving device driver state during shutdown

Riley Williams (rhw@MemAlpha.CX)
Wed, 4 Aug 1999 15:39:33 +0100 (GMT)


Hi Chris.

> It seems to work fine here (which is lucky 'cos when I rebooted
> to test it, I had hit the maximal mount count for all my
> partitions, so I was saved an ear bashing :)

I did a fairly simple one-off tweak on all my systems that minimises
the possibility of that happenning. Basically, I ran tune2fs on all my
ext2 partitions, setting each to a different maximum mount count, with
the counts being prime numbers starting with 23. As a result, it is
rare for more than one to hit its limit at any given time - in fact,
as a minimum, two which were both sync'd today will hit their limits
in (23*29) = 667 days time, or the best part of two years hence...

Best wishes from Riley.

+----------------------------------------------------------------------+
| There is something frustrating about the quality and speed of Linux |
| development, ie., the quality is too high and the speed is too high, |
| in other words, I can implement this XXXX feature, but I bet someone |
| else has already done so and is just about to release their patch. |
+----------------------------------------------------------------------+
* ftp://ftp.MemAlpha.cx/pub/rhw/Linux
* http://www.MemAlpha.cx/kernel.versions.html

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/