TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: THE NATURAL PHILOSOPHER
from: AHEM A RIVET`S SHOT
date: 2018-05-14 14:41:00
subject: Re: Lifetime of SD cards

On Mon, 14 May 2018 14:14:54 +0100
The Natural Philosopher  wrote:

> On 14/05/18 13:25, Richard Kettlewell wrote:
> > The Natural Philosopher  writes:
> >> On 14/05/18 08:50, Richard Kettlewell wrote:
> >>> The Natural Philosopher  writes:
> >>>> mtime atime and IIRC ctime
> >>>>
> >>>>
https://www.unixtutorial.org/2008/04/atime-ctime-mtime-in-unix-filesystems/
> >>>>
> >>>> last modfied, last accessed and when created.
> >>>                                  ^^^^^^^^^^^^^^
> >>>
> >>> ctime is not creation time. Read your own link l-)
> >>
> >> LOL.
> >>
> >> Well Ive always used to to determine when a file was created as its
> >> rare to change permissions and that's my excuse..
> >
> > That doesn’t work either...
> >
> >    $ rm -f a
> >    $ touch a
> >    $ stat -c 'mtime: %y ctime: %z' a
> >    mtime: 2018-05-14 13:21:01.746205877 +0100 ctime: 2018-05-14
> > 13:21:01.746205877 +0100 $ echo whatever >> a
> >    $ stat -c 'mtime: %y ctime: %z' a
> >    mtime: 2018-05-14 13:21:26.834237884 +0100 ctime: 2018-05-14
> > 13:21:26.834237884 +0100
> >
> ??? in which case its no different from mtime is it?
>
> Something doesnt compute

 If mtime changes then ctime will change but ctime will also change
for permission changes and the like when mtime won't.

--
Steve O'Hara-Smith                          |   Directable Mirror Arrays
C:\>WIN                                     | A better way to focus the sun
The computer obeys and wins.                |    licences available see
You lose and Bill collects.                 |    http://www.sohara.org/

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.