<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Disabling file access time in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/disabling-file-access-time/m-p/3547105#M17693</link>
    <description>&lt;BR /&gt; I believe you should try with +A option of chattr.&lt;BR /&gt;&lt;BR /&gt;eg: chatr +A tstgrep&lt;BR /&gt;&lt;BR /&gt;A is for 'no atime updates' so you should enable it with +A. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi</description>
    <pubDate>Wed, 18 May 2005 09:03:35 GMT</pubDate>
    <dc:creator>Gopi Sekar</dc:creator>
    <dc:date>2005-05-18T09:03:35Z</dc:date>
    <item>
      <title>Disabling file access time</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disabling-file-access-time/m-p/3547103#M17691</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I'm trying to disable the access time for a frequently accessed files in the /var/spool area by doing:&lt;BR /&gt;$ chattr -A &lt;FILENAME&gt;&lt;BR /&gt;$date&lt;BR /&gt;Wed May 18 21:27:18 MYT 2005&lt;BR /&gt;/var/spool/ &amp;gt;&amp;gt;ls -l --time=atime tstgrep&lt;BR /&gt;-rw-r--r--    1 root     dasadm1        40 May 18 21:11 tstgrep&lt;BR /&gt;/root &amp;gt;&amp;gt;chattr -A tstgrep&lt;BR /&gt;/root &amp;gt;&amp;gt;vi tstgrep&lt;BR /&gt;/root &amp;gt;&amp;gt;ls -l --time=atime tstgrep&lt;BR /&gt;-rw-r--r--    1 root     dasadm1        40 May 18 21:27 tstgrep&lt;BR /&gt;&lt;BR /&gt;From the output above, chattr -A option did not seem to take effect by ignoring the new access time for the file tstgrep (21:27). &lt;BR /&gt;&lt;BR /&gt;May what is the method of disabling the access time to the files on a Linux Red Hat 8?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Danny&lt;/FILENAME&gt;</description>
      <pubDate>Wed, 18 May 2005 08:25:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disabling-file-access-time/m-p/3547103#M17691</guid>
      <dc:creator>Danny Fang</dc:creator>
      <dc:date>2005-05-18T08:25:01Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling file access time</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disabling-file-access-time/m-p/3547104#M17692</link>
      <description>Access time (atime) and modification time (mtime) are different parts of the inode structure.&lt;BR /&gt;&lt;BR /&gt;chattr -A &lt;FILE&gt;&lt;BR /&gt;&lt;BR /&gt;will only disable the updating of 'atime'.&lt;BR /&gt;&lt;BR /&gt;There is no way to disable updating of a modification time.  I can't think of any possible reason you'd want to, that doesn't involve hiding the fact that you've been playing around with things.&lt;BR /&gt;&lt;BR /&gt;If you despratly need to change a modification time, look at the 'touch' command.&lt;/FILE&gt;</description>
      <pubDate>Wed, 18 May 2005 08:38:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disabling-file-access-time/m-p/3547104#M17692</guid>
      <dc:creator>Stuart Browne</dc:creator>
      <dc:date>2005-05-18T08:38:47Z</dc:date>
    </item>
    <item>
      <title>Re: Disabling file access time</title>
      <link>https://community.hpe.com/t5/operating-system-linux/disabling-file-access-time/m-p/3547105#M17693</link>
      <description>&lt;BR /&gt; I believe you should try with +A option of chattr.&lt;BR /&gt;&lt;BR /&gt;eg: chatr +A tstgrep&lt;BR /&gt;&lt;BR /&gt;A is for 'no atime updates' so you should enable it with +A. &lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Gopi</description>
      <pubDate>Wed, 18 May 2005 09:03:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/disabling-file-access-time/m-p/3547105#M17693</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-05-18T09:03:35Z</dc:date>
    </item>
  </channel>
</rss>

