The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.os.linux.development.system, comp.unix.programmer
From: Stefan Monnier <monn...@iro.umontreal.ca>
Date: Mon, 09 Jan 2012 09:18:28 -0500
Local: Mon, Jan 9 2012 9:18 am
Subject: Re: Getting time of last reboot on Linux
> I would expect that it would be near 100% on systems where thereFWIW, it *is* 100% on many/most home routers I know, since they don't
> is no real-time-clock kept alive when the system is powered off,
> and the system has to resort to a mod time on the root superblock
> from shutdown. Scheduled shutdowns (systems not expected to run
> anywhere close to 24/7 for power-saving, security, noise, or other
> reasons) or shutdowns for hardware reconfiguration are likely to
> take more than 10 minutes. I'll assume that the system is robust
> enough not to have a lot of panic/immediate reboot cycles.
have any RTC, and they don't try to do anything fancy with the root
superblock (they try to touch the flash as rarely as possible) nor do
they even shutdown usually (they're just power cycled instead).
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.