[rock-devel] [SM-2006042709405218849] Applied by teha
Clifford Wolf
clifford at clifford.at
Thu May 4 00:14:48 CEST 2006
On Wed, May 03, 2006 at 07:41:22PM +0200, Benjamin Schieder wrote:
> Yes. It's just that md5sum was the easiest way I could think of to convert
> anything to a hex value (which is what dmsetup expects). Do you know a (simple?)
> method of converting arbitrary strings to hexh?
Example given:
echo $( head -c128 /dev/urandom | hexdump | cut -s -f2- -d' ' | tr -d '\n '; )
--
/"\ ASCII Ribbon Campaign - against html email
\ / - against microsoft office attachments
X - against text above fullquote below
/ \ - against lines longer than 79 characters
"Beware of bugs in the above code; I have only proved it correct,
not tried it." - Donald E. Knuth
More information about the rock-devel
mailing list