[clug] best filesystem for solid state drive?
David Tulloh
david at tulloh.id.au
Mon Jun 22 04:28:24 GMT 2009
Jason Stokes wrote:
> Aparently Linus is an advocate of noatime generally, viewing the atime
> attribute as a brain-damaged idea. I'm inclined to agree --
> but I'm sure this breaks something. Anything important, though?
>
POSIX compliance.
The POSIX standard includes the C POSIX library, which in turn includes
sys/stat.h
Stat.h defines stat/lstat/fstat that return the stat structure which
includes information like the owner, file size, mtime, ctime and atime.
So to be POSIX compliant atime has to be recorded and available, which
is why it's the default on Linux.
Many people use noatime because it's slow and due to this most
applications don't rely on it but to remove atime or change the default
at the kernel level further removes Linux's POSIX compliance and
shouldn't be done lightly.
David
More information about the linux
mailing list