]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
ceph-disk: work around buggy rhel/centos parted
authorSage Weil <sage@inktank.com>
Fri, 14 Jun 2013 19:10:49 +0000 (12:10 -0700)
committerSage Weil <sage@inktank.com>
Fri, 14 Jun 2013 21:09:48 +0000 (14:09 -0700)
commit1504e23f177fff00a794c0db76db8a8c72bc8eb7
treeeb61eb556008e84ba18aeda8139841be4c98c799
parent0b9482bd631aada9e2ca730b6cddd51d7954fb11
ceph-disk: work around buggy rhel/centos parted

parted on RHEL/Centos prefixes the *machine readable output* with

 1b 5b 3f 31 30 33 34 68

Note that the same thing happens when you 'import readline' in python.

Work around it!

Signed-off-by: Sage Weil <sage@inktank.com>
(cherry picked from commit 82ff72f827b9bd7f91d30a09d35e42b25d2a7344)
src/ceph-disk