Protect file systems "in use" from mounting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ntfs-3g (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
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.
Suggestions:
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: https:/
description: | updated |
tags: | added: dataloss |
tags: | added: hibernation |
Changed in ntfs-3g (Ubuntu): | |
status: | New → Confirmed |
description: | updated |
description: | updated |