parted: Don't return "loop" for non-partitioned devices (RHBZ#634246).
authorRichard W.M. Jones <rjones@redhat.com>
Mon, 18 Oct 2010 11:56:54 +0000 (12:56 +0100)
committerRichard W.M. Jones <rjones@redhat.com>
Mon, 18 Oct 2010 11:56:54 +0000 (12:56 +0100)
If you ran part-get-parttype command on a device which didn't
contain a partition, it used to return the string "loop".  This
is an internal representation that parted uses.  We should instead
return an error because part-get-parttype makes no sense for
devices which are not partitioned.


No differences found