From: Kay Sievers Date: Thu, 13 Nov 2008 18:34:41 +0000 (+0100) Subject: volume_id: always check for all filesystem types and skip conflicting results X-Git-Tag: 174~1318 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=779d2d851ee5dbd4c759bb973113373897d3adce;hp=779d2d851ee5dbd4c759bb973113373897d3adce volume_id: always check for all filesystem types and skip conflicting results We probe for all known filesystems to find conflicting signatures. If we find multiple matching signatures and one of the detected filesystem types claims that it can not co-exist with any other filesystem type, we do not return a probing result. We can not afford to mount a volume with the wrong filesystem code and possibly corrupt it. Linux ssytems have the problem of dozens of possible filesystem types, and volumes with left-over signatures from former filesystem types. Invalid signature need to be removed from the volume to make the filesystem detection successful. We do not want to read that many bytes from probed floppies, skip volumes smaller than a usual floppy disk. ---