Activity log for bug #1198507

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
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.

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
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.

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
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.

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
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://savannah.gnu.org/bugs/?40530

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
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://savannah.gnu.org/bugs/?40530

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://savannah.gnu.org/bugs/?40530