Path: csiph.com!xmission!news.snarked.org!news.linkpendium.com!news.linkpendium.com!panix!usenet.stanford.edu!not-for-mail From: Mischa Baars Newsgroups: gnu.bash.bug Subject: Re: file access time and file modification time Date: Tue, 24 Sep 2019 09:14:13 +0200 Lines: 43 Approved: bug-bash@gnu.org Message-ID: References: <20190708092807.02edd68a60130b89a7775425@plushkava.net> <434b64df9db77998d977c2cf25e89005962e3cdb.camel@cyberfiber.eu> <814c18bdd58310c66af57c13b769cc171702fc63.camel@cyberfiber.eu> NNTP-Posting-Host: lists.gnu.org Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Trace: usenet.stanford.edu 1569309341 3329 209.51.188.17 (24 Sep 2019 07:15:41 GMT) X-Complaints-To: action@cs.stanford.edu To: bug-bash@gnu.org Envelope-to: bug-bash@gnu.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cyberfiber.eu; s=default; h=Content-Transfer-Encoding:MIME-Version: Content-Type:References:In-Reply-To:Date:To:From:Subject:Message-ID:Sender: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=3m24V4WT17oRkL2nHc01WIW62IhpY8JWVLV6iGbWwe4=; b=B76aguDP2A/TQkVRrBjoUsp2sj p2MaKrl7/MnaDKJWxf2DEmHCZ6DSvQkfNnVbFYAXEc015FgZ2n4c3sVshCAFL2cSQ4MQmvgcPGn+V qr1+DO/5IM3pAvmvPEE8FPkdlmSZAvmbFJprxRMOW4cXSMO4P3L/xbW3v8oi49TIutKFgIMx0xTzx NJEYMUmZrar2Hqg30093chNWDgogXPsARFYezjCocCSguQZSO6ua+yH06J0n3kJO99OhjiOeYKOPG Kqi79w4S8r6h1nNh1AI7PNg9zO5kXDQuyka7a3QmGyaeJSq5ipRfnCZM/okkvQfglwNrUB2+K5Iuk Ud0UAn6g==; In-Reply-To: <434b64df9db77998d977c2cf25e89005962e3cdb.camel@cyberfiber.eu> User-Agent: Evolution 3.32.4 (3.32.4-1.fc30) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - www98.totaalholding.nl X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - cyberfiber.eu X-Get-Message-Sender-Via: www98.totaalholding.nl: authenticated_id: mjbaars1977.bug-bash@cyberfiber.eu X-Authenticated-Sender: www98.totaalholding.nl: mjbaars1977.bug-bash@cyberfiber.eu X-Source: X-Source-Args: X-Source-Dir: X-Originating-IP: 185.94.230.81 X-SpamExperts-Domain: out.totaalholding.nl X-SpamExperts-Username: 185.94.230.81 Authentication-Results: totaalholding.nl; auth=pass smtp.auth=185.94.230.81@out.totaalholding.nl X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.13) X-Recommended-Action: accept X-Filter-ID: Mvzo4OR0dZXEDF/gcnlw0dWQ8c9lblW44odAlK6ziUapSDasLI4SayDByyq9LIhVMFG3yLErsUy1 Ko3ItQ35c0TNWdUk1Ol2OGx3IfrIJKywOmJyM1qr8uRnWBrbSAGDu+MuAbNHX7Qd+PEd0ms9H80D SEpCfISRYCKsig5kq2LAHfeI8OF1D8J0uc52vaZ3ZIOQYaDXB30lsHjt7j8HkKlf0W50n6AuXIMv hlU4BzhNwITHhljpqKk+Ratvp0JPhh8OzJWiBXhoyvdBz/MpXE9H2jTXggI6z2khZfw60smPWmpe Lxu1AJ+qib20747kaNJScrTO/pZaeJIu6m+LfxVVJ2mVvokCO2vVjpfr/eX3+RWxljT0AAJgouHP rg5R6cTrAfIBtLJVe62uoyOAUop4cZXX4YNvBwClFIJz3G8Bi53Psle5cUmOuJZEMw7GmFVVgWdB XKkEH0++/JhR/Qa+FEE+TmTK/6Hl36Y/23+8Ksk+aedMfNWSnJswrtlNLvt8g5xNnRDJKGvWdqSF OI2azxuHF97acinCSKJAyH/YQ5Td2RXsWX2IABvakz06874MD/XDMPpcnv6l5Hrq7jOPc3EG53uL 3j4HL+IhMsqbPc0mYnNMTVPrDKDVIdcL6qGn1FPkbTC6xz4g99Km1K4+puQs5fUV7zVHW/qjso1o dNsRzFBhMC7PXcRLHVDSHCC3chfDnjuFICWMuxLRLOynNxOG8jRaGtNDmAL29WjQ2Ccj5VcaosAj gJ95SCE4kemVPbxtQKKulOG12s00pz09xhzKDLtirq47EkWEuDsfDQ0DTqkSaQGhmj6q5MhvoQZP 1e2F6tzb0OzNNkIJOY3GaXsmpDg6TPo9TJzDSdtLt1ZX2GewjlzYPf6fqxbEm1skxLR15HFVtMrx eS5NISTmCCXeDL0NDX+BHG7xztVbkvvaN2po41Rt3Q2Bg7/ssOatMBAcJ4xUpeWO/3Mmw2TN7N36 EADOPX2jJv0RwGZbBKaJo7HrAcemBJcirJ2QDi/8SrmM5lM6SsmTMSx8yyAOvpLCZllAsiGQdipP vGKr7nU8c+F30rcLhz5eFPWOMS+4ayUpOtEhdxekWDmK9g== X-Report-Abuse-To: spam@filter01.totaalholding.nl X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a02:40c0:1:2:ffff::3 X-BeenThere: bug-bash@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports for the GNU Bourne Again SHell List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Mailman-Original-Message-ID: <814c18bdd58310c66af57c13b769cc171702fc63.camel@cyberfiber.eu> X-Mailman-Original-References: <20190708092807.02edd68a60130b89a7775425@plushkava.net> <434b64df9db77998d977c2cf25e89005962e3cdb.camel@cyberfiber.eu> Xref: csiph.com gnu.bash.bug:15425 Strange, it seems the replies did come through. So have you seen them? Let's try the gnome mail client, at least I got a receipt this time. Regards, Mischa. On Tue, 2019-09-24 at 09:04 +0200, Mischa Baars wrote: > 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" 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. > > > >