Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Feb 2006 17:22:22 +0200 (EET)
From:      lalev@uni-svishtov.bg
To:        freebsd-questions@freebsd.org
Subject:   ls -c vs. ls -u / manpage / architecture question
Message-ID:  <53964.193.68.172.33.1140794542.squirrel@mail.uni-svishtov.bg>

next in thread | raw e-mail | index | archive | help
Hi,

I want to ask if I got this right.

The manpage of ls, supplied with FreeBSD 6.0 says:

-c      Use time when file status was last changed for sorting or printing.
-u      Use time of last access, instead of last modification of the file
for sorting and printing

I could see in the source of ls that these two options
are opposite of each other, but being ignorant about
the architecture of UNIX file system, i'm not positive
that in addition to the time of last modification
and the time of last access, there is not
another time - "file status change time".

Or is it what I suppose, that the -c option is just on by default
and no other than these 2 times are saved in the file system
info about the file.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53964.193.68.172.33.1140794542.squirrel>