On Fri, Oct 31, Karel Zak wrote: > I think it would be better to ask libblkid/volume_id. libvolume_id has no size checks, for any "detected" filesystems. Thats not correct. So it can not be used. A swap partition/file is not just a string at a certain offset, its also the size in blocks in the metadata. Only if both match, it could be swap. Olaf -- To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html