Hi, I can't tell the reason and conditions to repeat this bug... "ls" and "ls $PWD" produce different directory listing (of different times, so a subdir is existing in one listing and missing in an other). ls . $PWD Linux 2.6.15.6 GNU bash, version 2.05b.0(1)-release (i386-pc-linux-gnu) Linux 2.6.15.6 PREEMPT i686 /dev/hda5 on / type ext3 (rw,errors=remount-ro,data=ordered,commit=60,quota) A spirit junklies: This bug was noted by me during development of a directory listing cache. (It cannot be the cause of the bug because I have not yet even compiled this library :-).) Anyway, maybe it is caused by hibernation... I will reboot. -- Victor Porton - http://porton.ex-code.com
On Mar 18, 2006 14:22 +0500, Victor Porton,,, wrote:> I can't tell the reason and conditions to repeat this bug... > > "ls" and "ls $PWD" produce different directory listing (of > different times, so a subdir is existing in one listing and > missing in an other). > > ls . $PWDThis can happen if your directory is renamed and recreated: $ mkdir /tmp/foo $ pushd /tmp/foo $ echo $PWD /tmp/foo $ mv /tmp/foo /tmp/bar $ echo $PWD /tmp/foo $ mkdir /tmp/foo touch bar touch $PWD/foo ]$ ls . $PWD .: total 0 0 bar /tmp/foo: total 0 0 foo Cheers, Andreas -- Andreas Dilger Principal Software Engineer Cluster File Systems, Inc.
Maybe Matching Threads
- Linux performance bug: fsync() for files with zero links
- "Communications with UPS advice@localhost lost" when using an other USB device
- Do I need to configure times and percents?
- "Communications with UPS advice@localhost lost" when using an other USB device
- Do I need to configure times and percents?