Linux has an option O_NOATIME on the open(2) call, which indicates that this open shall not change the atime of a file due to this open/read operation. It is intended for indexing and backup operations. As far as I know, FreeBSD does not have any functionality like that? Did I miss something?
I'm not talking about the NOATIME option on mount, or on file system creation (which is a good idea, and makes the whole question above irrelevant if set). I'm just fixing up an old file copy program, and I'm wondering whether I can make it a little bit more efficient on FreeBSD systems, for just those where the admin forgot to disable atime on the file system.
I'm not talking about the NOATIME option on mount, or on file system creation (which is a good idea, and makes the whole question above irrelevant if set). I'm just fixing up an old file copy program, and I'm wondering whether I can make it a little bit more efficient on FreeBSD systems, for just those where the admin forgot to disable atime on the file system.