GNU bug report logs - #25407
ls documentation should reflect file system atime setting

Previous Next

Package: coreutils;

Reported by: Scott Deerwester <scott.deerwester <at> gmail.com>

Date: Mon, 9 Jan 2017 19:03:02 UTC

Severity: normal

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Scott Deerwester <scott.deerwester <at> gmail.com>
To: 25407 <at> debbugs.gnu.org
Subject: bug#25407: ls documentation should reflect file system atime setting
Date: Mon, 09 Jan 2017 18:32:18 +0000
[Message part 1 (text/plain, inline)]
The -u option to ls is documented as sorting by and printing the access
time of a file instead of the modification time. This has been the
(correct) behavior for decades. In modern distributions, however, file
systems are routinely mounted with either relatime or noatime replacing
atime, which causes the -u option to fail silently and use either the
modification time (if the file system is mounted with noatime), or an
arbitrary access time (if mounted with relatime). This behavior should be
prominently documented in the man page for ls under the -u option.
[Message part 2 (text/html, inline)]

This bug report was last modified 8 years and 136 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.