bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ls bug: -c and -u swapped?


From: Andreas Schwab
Subject: Re: ls bug: -c and -u swapped?
Date: Sat, 19 Jun 2004 18:58:48 +0200
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Paul Dunne <address@hidden> writes:

> $ ls --version
> ls (coreutils) 5.0
>
> $ ls -ltr /tmp/gmail.watch;ls -lcr /tmp/gmail.watch;ls -lur /tmp/gmail.watch
> -rw-------    1 paul     staff      304089 2004-06-19 18:16
> /tmp/gmail.watch
> -rw-------    1 paul     staff      304089 2004-06-19 18:16
> /tmp/gmail.watch
> -rw-------    1 paul     staff      304089 2004-06-19 14:18
> /tmp/gmail.watch
> $
>
> Isn't this the reverse of what should be?  -c is supposed to show "last
> inode change date", which in the above example is 14:18, whereas -u is
> supposed to show "last access time".  But as you can see,

Why do you think that 14:18 is the inode change time?  It's not apparent
from the given information.  What does `stat /tmp/gmail.watch' give?

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]