Re: /dev/random problem on 2.6.12-rc1
From: Yura Pakhuchiy (pakhuchiy_at_iptel.by)
Date: 04/07/05
- Previous message: Stephen C. Tweedie: "Re: ext3 allocate-with-reservation latencies"
- In reply to: Patrice Martinez: "/dev/random problem on 2.6.12-rc1"
- Next in thread: Yura Pakhuchiy: "Re: /dev/random problem on 2.6.12-rc1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Patrice Martinez <patrice.martinez@ext.bull.net> Date: Thu, 07 Apr 2005 16:08:44 +0300
On Thu, 2005-04-07 at 14:40 +0200, Patrice Martinez wrote:
> When using a machine with a 2612-rc 1kernel, I encounter problems
> reading /dev/random:
> it simply nevers returns anything, and the process is blocked in the
> read...
> The easiest way to see it is to type:
> od < /dev/random
>
> Any idea?
Because, /dev/random use user input, mouse movements and other things to
generate next random number. Use /dev/urandom if you want version that
will never block your machine.
Read "man 4 random" for details.
Best regards,
Yura
-
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/
- Previous message: Stephen C. Tweedie: "Re: ext3 allocate-with-reservation latencies"
- In reply to: Patrice Martinez: "/dev/random problem on 2.6.12-rc1"
- Next in thread: Yura Pakhuchiy: "Re: /dev/random problem on 2.6.12-rc1"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|