Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #15424 > unrolled thread

Re: file access time and file modification time

Started byMischa Baars <mjbaars1977.bug-bash@cyberfiber.eu>
First post2019-09-24 09:04 +0200
Last post2019-09-24 09:04 +0200
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: file access time and file modification time Mischa Baars <mjbaars1977.bug-bash@cyberfiber.eu> - 2019-09-24 09:04 +0200

#15424 — Re: file access time and file modification time

FromMischa Baars <mjbaars1977.bug-bash@cyberfiber.eu>
Date2019-09-24 09:04 +0200
SubjectRe: file access time and file modification time
Message-ID<mailman.968.1569308721.2190.bug-bash@gnu.org>
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.
> 

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web