bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: file access time and file modification time


From: Mischa Baars
Subject: Re: file access time and file modification time
Date: Tue, 24 Sep 2019 09:04:00 +0200
User-agent: Evolution 3.32.4 (3.32.4-1.fc30)

Hi Kerin,

That indeed solves the problem in 'accesstime.sh', although I would
recommend some sort of reference from the bash manpage to the mount
manpage.

Did you have a look at the 'conditional.sh' script too? Looks like the
'-N' switch compares only the integer part of the timestamp seconds.

Regards,
Mischa.

On Mon, 2019-07-08 at 09:28 +0100, kfm@plushkava.net wrote:
> On Mon, 08 Jul 2019 09:29:19 +0200
> "mjbaars1977.bug-bash" <mjbaars1977.bug-bash@cyberfiber.eu> wrote:
> 
> > Hi,I'm having some difficulties with the file access time and the
> > file modification time. Scripts are attached for your
> > convenience.Regards,Mischa Baars.Sent from my Samsung Galaxy
> > smartphone.
> 
> If you are using Linux, you should be aware that it defaults to using
> "relatime", meaning that atimes are only updated under certain
> circumstances. The correct (POSIX compliant) behaviour is achieved by
> mounting the filesystem with the "strictatime" option. See 
> http://man7.org/linux/man-pages/man8/mount.8.html for further
> information.
> 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]