Re: uuidgen question/proposal

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Apr 24, 2017, at 2:03 PM, Alexander Pohoyda <alexander.pohoyda@xxxxxxx> wrote:
> 
> Hi Andreas,
> 
> one option is IMHO missing in uuidgen(1) tool -- to dump the GUID in binary form (so that it could be easily Base64-encoded)
> 
> It is as simple as this:
> printf("%.16s\n", uuid);
> 
> Base64-encoding of GUIDs is very popular these days and there are a number of online tools to do this, but since uuidgen only dumps a serialized string, this could not be Base64 encoded easily.
> 
> What's your take on this?  Thanks!

I've CC'd your question to linux-ext4@xxxxxxxxxxxxxxx, since that is
the mailing list for discussing e2fsprogs changes.

My suggestion would be to add a "-b" (or similar) option directly to uuidgen
so that it can do the base64 encoding itself, rather than dumping the UUID
in binary and having to pipe it to another utility.

Cheers, Andreas





Attachment: signature.asc
Description: Message signed with OpenPGP


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux