Re: [SM-2006042709405218849] Applied by teha
Clifford Wolf <[email protected]> Thu, 4 May 2006 00:14:48 +0200
| Newsgroups | gmane.linux.distributions.rock.devel |
|---|---|
| Message-ID | <[email protected]> |
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