linux-mips
[Top] [All Lists]

Re: deleted /dev/zero

To: Jun Sun <jsun@mvista.com>
Subject: Re: deleted /dev/zero
From: Liam Davies <liam.davies@agile.tv>
Date: Tue, 14 May 2002 11:19:00 +1000
Cc: linux-mips@oss.sgi.com
Organization: AgileTV Corporation
References: <3CE061E0.8000909@mvista.com>
Reply-to: ldavies@agile.tv
Sender: owner-linux-mips@oss.sgi.com
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0rc1) Gecko/20020417
Jun Sun wrote:

I don't know how to re-produce this problem yet. It seems a little non-deterministic. I would appreciate any insight into this problem.


The ltp mtest05 test had a bug in which it would remove /dev/zero when
it cleaned up. Have you got an updated ltp suite?

This is the fix that they did in late March to the mtest05 test.

/ltp/ltp/testcases/kernel/mem/mtest05/mmstress.c:246
-    if (strcmp(filename, "NULL") || strcmp(filename, "/dev/zero"))
+    if (strcmp(filename, "NULL") && strcmp(filename, "/dev/zero"))

I suppose that there may be other LTP tests that could have similar
bugs...


Cheers
Liam





<Prev in Thread] Current Thread [Next in Thread>