Fsys -A

Does the -A option to Fsys prevent any last access time writes to
the directory entry? The help is not clear, I want to prevent any
directory entry writes for a file anytime the file is written to or
appended to. I’m hoping that the only time it would be updated is
when a new extent has to be added.

Thanks,
Rob

Previously, Rob Davidson wrote in qdn.public.qnx4:

Does the -A option to Fsys prevent any last access time writes to
the directory entry? The help is not clear, I want to prevent any
directory entry writes for a file anytime the file is written to or
appended to. I’m hoping that the only time it would be updated is
when a new extent has to be added.

Well if a file is appended to without adding new extents, the
directory entry still needs to be updated with the new file
length.


Mitchell Schoenbrun --------- maschoen@pobox.com

Rob Davidson <rdavidson@softwareremodeling.com> wrote:

Does the -A option to Fsys prevent any last access time writes to
the directory entry? The help is not clear, I want to prevent any
directory entry writes for a file anytime the file is written to or
appended to. I’m hoping that the only time it would be updated is
when a new extent has to be added.

Files have three times – access, modification and status change. The
access time represents when the file was last read – the -A option
tells Fsys to not update access times.

So, there is no option to do what you want.

-David

QNX Training Services
dagibbs@qnx.com