diff -urN qtparted-0.4.5.orig/src/qp_devlist.cpp qtparted-0.4.5/src/qp_devlist.cpp --- qtparted-0.4.5.orig/src/qp_devlist.cpp 2005-08-10 14:05:37 +0300 +++ qtparted-0.4.5/src/qp_devlist.cpp 2006-11-15 19:48:51 +0200 @@ -260,10 +260,7 @@ device->setShortname(dev->path); PedDiskType *disktype = ped_disk_probe(dev); - if (disktype) - device->setPartitionTable(true); - else - device->setPartitionTable(false); + device->setPartitionTable((disktype && strncmp(disktype->name, "loop", 4)) ? true : false); /*---get if the device is busy---*/ device->setIsBusy(ped_device_is_busy(dev));