Messages in this thread | | | Date | Wed, 8 May 2002 14:30:10 -0700 (PDT) | From | "Charles A. Clinton" <> | Subject | Re: Fwd: Re: bug in tmpfs |
| |
On Wed, 8 May 2002, Johnny Mnemonic wrote:
> > I've noticed the following wrong behaviour on tmpfs: > > > > (running kernel 2.4.18) > > > > [johnny@revenge johnny]$ cd /mnt/shm > > [johnny@revenge shm]$ rm -rf W > > [johnny@revenge shm]$ mkdir W > > [johnny@revenge shm]$ cd W > > [johnny@revenge W]$ touch MYFILE > > [johnny@revenge W]$ ln -s X Y > > [johnny@revenge W]$ ls -l > > total 0 > > -rw-rw-r-- 1 johnny johnny 0 May 7 19:37 MYFILE > > -rw-rw-r-- 1 johnny johnny 0 May 7 19:37 MYFILE > > lrwxrwxrwx 1 johnny johnny 1 May 7 19:37 Y -> X > > [johnny@revenge W]$ ls -l > > total 0 > > -rw-rw-r-- 1 johnny johnny 0 May 7 19:37 MYFILE > > lrwxrwxrwx 1 johnny johnny 1 May 7 19:37 Y -> X > > [johnny@revenge W]$ > > > > This bug is reproducible in most ways, when you create a > > non-existent symlink, the first ls will always show up two "MYFILE", > > while the second and further one won't. > > This is probably a misbehaviour of the general cfs layer on which the > tmpfs directory handling relies. Further on my time nowaday is totally > sucked up by my job. So I can't look into this myself. > > Please report this bug to the Linux Kernel Mailing list. > > Greetings > Christoph > > ------------------------------------------------------- > > Anyone would like to track this bug before 2.4.19 release?
If you substitute "\ls" for "ls" the problem goes away. If you use "\ls --color=tty -l" the problem reappears.
-- Charles
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |