Questions tagged [atime]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
22 views

GNU tar man-page mysterious references to METHOD='replace' and METHOD='system'

My tar (GNU tar 1.28) man-page lists the --atime-preserve option, which applies to the time a file is added to the tarball. The full explanation reads thus: --atime-preserve preserve access ...
0
votes
1answer
60 views

How to prevent `atime` in Linux from overwriting `Date created` in Windows on NTFS?

From Linux, if I alter files on an NTFS external HD so that I get some specific values for mtime, atime and ctime (readable with the stat command, and with ctime = mtime because one cannot change ...
1
vote
1answer
26 views

List of applications that require atime [closed]

Without digging into the rationale behind access time tracking, its write-amplification effects in particular for SSDs, or the fact that it can be somewhat mitigated by the relatime and lazytime mount ...
1
vote
1answer
66 views

chmod without changing stat (atime) of file

i would like to be able to chmod a directory structure without changing the atime of those (files and) directories. if i start out with a file structure like $ tree test/ test/ ├── test1.txt └── ...
3
votes
1answer
68 views

Why is find(ing) by -atime not printing expected files? [closed]

I'm trying to recursively find files that have not been accessed for over 365 days. I can use stat and verify that the file has not been accessed for over 365 days. It is odd that the file shows that ...
1
vote
2answers
118 views

Does Duplicity modify atime when backing up?

My data resides on a SSD and — thanks to re-writes and Write Amplification — any modification of an atime will result in not only the inode being modified, but the whole block that it resides on being ...
3
votes
1answer
126 views

Does a typical single-user desktop Linux system have apps requiring atime?

I've just: Does using noatime on modern Linux make sense? and I'm interpreting the answer there as follows: "If you don't have applications that depend on atime's being valid, you don't need them." ...
5
votes
1answer
4k views

Why is EXT4 filesystem mounted with both relatime and lazytime

I'm running Debian/Testing, with kernel 4.4: # uname -a Linux shaula 4.4.0-1-amd64 #1 SMP Debian 4.4.6-1 (2016-03-17) x86_64 GNU/Linux So I want to use the lazytime mount option, which is why I put ...
1
vote
1answer
158 views

Changing file modification time to access time in bulk

I have a bunch of files in a directory where the modification time was changed (incorrectly) with touch -m The access time of these files is still close enough to what the modification time was, so I'...
0
votes
1answer
79 views

List (and then delete) files that has last read-access older than 6 months

How to list files that has last read-access older than 6 months? Then, how to delete them? My filesystem seems to be mounted with: /dev/sda3 on /home type ext4 (rw,relatime,data=ordered)
6
votes
1answer
375 views

Why does my file have multiple crtime entries?

Using ext4 filesystem I was able to read out the creation time of a file using the approach here. As a result I am indeed provided with a table featuring the crtime (creation time) of the inode(...
1
vote
6answers
671 views

How to check what file content changes, not the atime, mtime, ctime in Linux?

Is there any ways to find out what file content has been modified or added in Linux. I am aware of the atime,ctime,mtime. Say I created a script "myscript.sh" and somebody changed some content of it ...
6
votes
1answer
5k views

Check last time .sh file used

When you run ./myscript.sh is that considered as "access" time? I need to know the last time a script was run, but I'm not sure if this counts as mtime, ctime or atime (differences described here).
2
votes
1answer
1k views

ls -lu does not give last access time

The manpage of ls says: -u with -lt: sort by, and show, access time; with -l: show access time and sort by name; otherwise: sort by access time but that doesn't seem to work: test@...
5
votes
2answers
1k views

How can I tell if a directory is mounted with noatime or nodirtime?

I work with an NFS partition on a mac. Commands like du take a very long time, and I was considering unmounting the NFS and remounting it with noatime and nodirtime. The partitions have been mounted ...
2
votes
1answer
236 views

What happened to /proc/sys/fs/relatime_interval?

According to one answer relatime interval can be changed by echo 60 > /proc/sys/fs/relatime_interval but I do not have such a file? Where did it go? $ ls /proc/sys/fs aio-max-nr file-...
5
votes
1answer
413 views

Is there software relying on `strictatime`?

I am preparing to implement a filesystem in FUSE. Implementing only one mode would be easier. Relatime is the default behavior of all kernel implemented filesystems. Is strictatime behavior still ...
3
votes
1answer
313 views

Cache atime writes

Is there a way to set atime writes to be cached for a very long time? I need atime (that is to say, relatime won't cut it), but I don't want it to effect performance so much. Data loss in of atimes (...
1
vote
1answer
97 views

Make updatedb not change access times

Can I keep updatedb on but prevent it from changing atimes? I want to automatically tar up repos that haven't been accessed (by me, not some daemon) for a certain period of time.
3
votes
1answer
69 views

Recover atime after vim

I've vimed a file, and only afterwards realised that I need the atime (last access time) for the file. Is there any way to recover the atime for a file after accessing it inadvertently? The ...
5
votes
1answer
822 views

Can “find” command preserve access-time

I'm running the following command which is supposed to find specific directories according to their Access-Time metadata detail however for some reason the find command changes the access time of ...
12
votes
3answers
3k views

Why is sorting files by access time not working?

I tried to use command ls --time=atime it was working in one directory but wasn't working in another directory. I opened certain files in vim, evince and other applications but after the command file ...
13
votes
1answer
3k views

Does using noatime on modern Linux make sense?

Starting from version 2.6.30 (which was released 5 years ago), Linux has the option relatime enabled by default. It means updates of file access time are very infrequent and prudent. But I still see ...
4
votes
2answers
2k views

File access time not updating in ubuntu 12.04

After using the cat command to read a file, I used the stat command to view it's changed access time, but it's not getting updated. I checked /etc/fstab file and there is no noatime on any of my ...
2
votes
1answer
485 views

Atime value changing only once after file creation

I've mounted disk with explicit given value - atime: mount -o mount -o atime /dev/disk1 /myDisk then I've created a file by touch file_A after this operation stat output looks like that: Access: ...
3
votes
2answers
1k views

On touching a new file why is mtime and ctime older than atime?

I have this: $ ls -l ff ls: cannot access ff: No such file or directory $ touch ff $ stat ff File: `ff' Size: 0 Blocks: 0 IO Block: 4096 regular empty file Device: 803h/...