Gentoo Archives: gentoo-user

From: Daniel Pielmeier <daniel.pielmeier@××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Binhost integrity questions
Date: Tue, 27 Nov 2007 10:31:14
Message-Id: 6142e6140711270225g113eb1fbu23c5ff45b569d457@mail.gmail.com
In Reply to: Re: [gentoo-user] Binhost integrity questions by Aniruddha
1 2007/11/27, Aniruddha <zentooist@×××××.com>:
2 > Dan Farrell wrote:
3 > > md5sum - compute and check MD5 message digest
4 > > dan@pascal ~ $ dd if=/dev/urandom of=/tmp/md5src count=512
5 > > 512+0 records in
6 > > 512+0 records out
7 > > 262144 bytes (262 kB) copied, 0.041335 s, 6.3 MB/s
8 > > dan@pascal ~ $ md5sum /tmp/md5src
9 > > 966019983a079e2bf03566d1f0eca061 /tmp/md5src
10 > >
11 > > if you want to verify your own download, you could download the file
12 > > here:
13 > > http://spore.ath.cx/~dan/md5src
14 > > and check to see if you get the same checksum.
15 > >
16 >
17 > Thank you for your answer. I am afraid you go a little to fast for me.
18 > What does "$ dd if=/dev/urandom of=/tmp/md5src count=512" exactly do?
19
20 It generates a file out of random bits returned from /dev/urandom, I
21 think /dev/random is also possible. See here [1] and [2] for more
22 information. I thinks it was just meant as a sample file to compare
23 the md5 checksums.
24
25 [1] http://en.wikipedia.org/wiki/Urandom
26 [2] http://www.linuxmanpages.com/man1/dd.1.php
27 --
28 gentoo-user@g.o mailing list