Bugzilla – Attachment #158806: Patch to allow to mount dirty volumes read-only with -oro (without force) for bug #300694
-- src/utils.c
++ src/utils.c
return NULL;
}
if (vol->flags & VOLUME_IS_DIRTY) {
if (!(flags & MS_RDONLY) && vol->flags & VOLUME_IS_DIRTY) {
if (!force) {
ntfs_log_error("%s", dirty_volume_msg);
ntfs_log_error(forced_mount_msg, volume, mntpoint,