Messages in this thread | | | Date | Fri, 17 Sep 1999 11:58:43 +0300 | From | Matti Aarnio <> | Subject | Re: no data from /dev/random on udb alpha |
| |
On Fri, Sep 17, 1999 at 10:39:27AM +0200, Robin Elfrink wrote: > Hi, > > Can anyone tell me why there's no data from /dev/random on linux-alpha? > > The system is an UDB Multia, running stock redhat-6.0 (kernel 2.2.5). Also > tried 2.2.11, that doesn't give anything either.
/dev/random is blocking interface that only gives as much random bytes as it estimates there to be entropy. Then it blocks until more entropy has been collected from the system /dev/urandom is non-blocking interface, which will happily delpete the entropy pool to supply you random bytes.
> I couldn't find anything alpha architecture specific in > drivers/char/random.c... > > ---------- Have a nice day! ---------- > Robin Elfrink <r.elfrink@autosound.nl>
/Matti Aarnio <matti.aarnio@sonera.fi>
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |