// MIT License, Copyright (c) 2021 Marvin Borner #include #include #include #include void dsk_detect(struct dev *dev) { if (mbr_detect(dev)) return; if (ext2_detect(dev)) return; log("[DSK] Couldn't detect type of disk %s\n", dev->name); }