OSDN Git Service

Add partition separator only when required
authorPhillip Susi <psusi@cfl.rr.com>
Wed, 7 Dec 2011 04:20:50 +0000 (23:20 -0500)
committerJim Meyering <meyering@redhat.com>
Mon, 12 Dec 2011 13:36:14 +0000 (14:36 +0100)
commitc5b861cdf57bd2916fa90ee1e42ec86475203f7b
tree849712136b13223ecfcdf7f707da1bb3d9461a2d
parentbd4933328af72fa9fedefb2c6f5bbfed538c5392
Add partition separator only when required

Device mapper type should not automatically
mean add 'p' before the partition number.  Fall back to
adding it only if the previous character is a digit.
This complies with kpartx behavior and linux behavior
"since the dawn of time".
libparted/arch/linux.c
tests/Makefile.am
tests/t6001-psep.sh [new file with mode: 0644]