[Bug 1198507] Re: Protect file systems "in use" from mounting

UlfZibis 1198507 at bugs.launchpad.net
Tue Apr 19 01:46:24 UTC 2016


** Description changed:

  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

** Description changed:

  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

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ntfs-3g in Ubuntu.
https://bugs.launchpad.net/bugs/1198507

Title:
  Protect file systems "in use" from mounting

Status in ntfs-3g package in Ubuntu:
  Confirmed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntfs-3g/+bug/1198507/+subscriptions



More information about the foundations-bugs mailing list