Hey, thanks for your patience.
I'm going to pull this.that module can definitely use some cleanup.
curtin has lots of stuff that does this sort of thing better.

For something like "find out how big a block device is" in sectors we could do 
something like:

$ sudo blockdev --getsize /dev/sdb

$ cat /sys/class/block/sdb/size 

For that value in bytes:
 $ sudo blockdev --getsize64 /dev/sdb

Your team cloud init development team is requested to review the proposed merge 
of ~paul-meyer/cloud-init:fix-raw-ephemeral-disk into cloud-init:master.

Mailing list: https://launchpad.net/~cloud-init-dev
Post to     : cloud-init-dev@lists.launchpad.net
Unsubscribe : https://launchpad.net/~cloud-init-dev
More help   : https://help.launchpad.net/ListHelp

Reply via email to