Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!eternal-september.org!feeder.eternal-september.org!mx02.eternal-september.org!.POSTED!not-for-mail From: Unknown Newsgroups: comp.os.linux.misc,comp.sys.raspberry-pi Subject: Re: Keeping 'order' without RTC. Date: Thu, 5 Mar 2015 08:52:02 +0000 (UTC) Organization: A noiseless patient Spider Lines: 40 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 5 Mar 2015 08:52:02 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="0d8d2d52cd44c5e9f95dfd79eab06b37"; logging-data="364"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+n7/edb3AHA5Oc8D7vzXsATPDCZ54Nwms=" User-Agent: Pan/0.133 (House of Butterflies) Cancel-Lock: sha1:yixDlNRVP9FkGiU2fzgNQKSKYO4= Xref: csiph.com comp.os.linux.misc:13918 On Mon, 02 Mar 2015 16:12:47 +0000, Johny B Good wrote: > On Sun, 1 Mar 2015 21:54:39 +0000 (UTC), William Unruh > wrote: > >>On 2015-03-01, Michael Black wrote: >>> On Sat, 28 Feb 2015, not.socialnetwork@gmail.com wrote: >>> >>>> When you transfer a dir of script/s & data-files to rPi from your >>>> PC, via USBstik, there's a problem, since the rPi has no >>>> RealTimeClock. --- snip-- >>>> So the important abilty to 'evaluate' files by their recentcy >>> is lost. > It's a universal truth that you'll want to get the >>> most-recent >>>> cup-of-coffee and not the 17th most-recent that you put-down. That's >>>> why stacks are used. >>>> >>>> What algorithm do you use to solve this problem? >>>> >>>> ==TIA. >>>> >>>> >>>> > IMO, the best "Algorithm" is to use an add on RTC module and add the > appropriate time setting requests to the startup script if reasonably > accurate time is required on a R-Pi that stands in total isolation from > the internet or any other time setting source such as MSF Rugby or a GPS > receiver. > "Algorithm" means: understand that 'order'/sequence> does not need RTC. > Relying on the latest date of a regularly updated file is a piss poor > workaround at best, only being slightly better than nothing at all. If > the system date/time has any importance at all (at least to the extent > of asking this question), you really aught to fit an RTC module if no > alternative source of accurate time setting is available. I want to speak to the injunyear, not the sales-clerk.