Fwd: Re: bug in tmpfs

Johnny Mnemonic (johnny@themnemonic.org)
Wed, 8 May 2002 19:03:29 +0200


---------- Forwarded Message ----------

Subject: Re: bug in tmpfs
Date: 08 May 2002 09:17:21 +0200
From: Christoph Rohland <cr@sap.com>
To: Johnny Mnemonic <johnny@themnemonic.org>

> 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?

Regards

-- 
Johnny
-
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/