diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2008-11-13 19:34:41 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2008-11-13 19:34:41 +0100 |
commit | 779d2d851ee5dbd4c759bb973113373897d3adce (patch) | |
tree | 5ff2a5cbb930a4715b58376bbb033f18a8ddeedd /extras/cdrom_id | |
parent | 90dca5ff9d927273c47cfbe365cc925add1a67e8 (diff) |
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.
Diffstat (limited to 'extras/cdrom_id')
0 files changed, 0 insertions, 0 deletions