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, k...@plushkava.net wrote:
> On Mon, 08 Jul 2019 09:29:19 +0200
> "mjbaars1977.bug-bash" <mjbaars1977.bug-b...@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