dissect: automatically mark partitions read-only that have a read-only file system
authorLennart Poettering <lennart@poettering.net>
Fri, 29 Sep 2017 12:19:22 +0000 (14:19 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 29 Sep 2017 12:36:29 +0000 (14:36 +0200)
commit896f937f58f42284dbebcd0a7f5ddc87fd5517b7
treefaa018ccc9c5c3d7d367008abff4134bb7e43666
parent01a65d4180446661732d90d23a24ab692d279295
dissect: automatically mark partitions read-only that have a read-only file system

Specifically, squashfs and iso9660 are always read-only, hence make sure
we never even think about mounting them writable.
src/basic/mount-util.c
src/basic/mount-util.h
src/shared/dissect-image.c