Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 01-30-2006, 08:49 AM   #1
LQ Newbie
Registered: Jan 2006
Posts: 2

Rep: Reputation: 0
/dev/random and /dev/urandom pool(s)?

I know /dev/random and /dev/urandom are treated like seperate char drivers for users. My question is, the "entropy_store input pool;" is declared as static. Is this because there are two instantiations of the pool - one for each driver, or is there a single pool and two read functions for the single pool where the urandom does the hashing thing to fulfill non-blocking requests?
I'd appreciate any help on this.
Old 01-30-2006, 09:33 AM   #2
Registered: Jan 2005
Location: Finland
Distribution: Ubuntu, Debian, Gentoo, Slackware
Posts: 827

Rep: Reputation: 31
I have no idea what youre talking about, but I do know that the manualpages describe them both taking from the same entropy-pool and the difference being that urandom will give output even if the quality is suffering where as random will wait for it to get better.
Old 01-31-2006, 06:54 AM   #3
LQ Newbie
Registered: Jan 2006
Posts: 2

Original Poster
Rep: Reputation: 0

Thanks for the pointer. I guess the man pages have finally become accurate.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
reading from /dev/urandom in c djgerbavore Programming 5 10-04-2005 12:54 PM
What is adsp0? and why cat /dev/urandom >/dev/adsp0 give me "no such device"? haimeltjnfg Linux - Hardware 2 05-09-2004 10:54 PM
Problem when using /dev/urandom maga_lm Programming 2 03-22-2004 11:25 PM
why did cat /dev/urandom send my printer insane ? qwijibow Linux - Newbie 1 12-01-2003 03:41 AM
/dev/urandom Moszer Slackware 3 09-09-2003 09:06 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:22 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration