[Top] [All Lists]

Re: deleted /dev/zero

Subject: Re: deleted /dev/zero
From: "Maciej W. Rozycki" <>
Date: Tue, 14 May 2002 15:02:38 +0200 (MET DST)
Cc: Jun Sun <>,
In-reply-to: <>
Organization: Technical University of Gdansk
On Tue, 14 May 2002, Liam Davies wrote:

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

 Which only proves again one shouldn't run software as root unless
absolutely needed... 

+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+        e-mail:, PGP key available        +

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