Protect file systems "in use" from mounting

Bug #1198507 reported by UlfZibis on 2013-07-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ntfs-3g (Ubuntu)

Bug Description

Problematic scenario:
- start Windows from C: (sda1)
- open files on D: (sda2)
- suspend Windows to disk (=hibernate)
- start Ubuntu from sda3
- try to mount sda1
-> warning about hibernation state of sda1 -> OK
- try to mount sda2
-> no warning about open state of sda2 -> BAD
-> if files are written, file system of sda2 becomes damaged -> DATA LOSS

The problem may also affect other file systems, at least FAT.

1. Before mounting, please try to check if file system is "in use" and display warning.
2. If 1. is not possible, check any other partitions on hibernation state, and if found, display warning about the potential dangerous situation.

See also:

UlfZibis (ulf-zibis) on 2013-07-06
description: updated
tags: added: dataloss
tags: added: hibernation
Phillip Sz (phillip-sz) on 2013-07-07
Changed in ntfs-3g (Ubuntu):
status: New → Confirmed
UlfZibis (ulf-zibis) on 2016-04-19
description: updated
description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers