tinymount icon indicating copy to clipboard operation
tinymount copied to clipboard

Forcible unmount

Open vdudouyt opened this issue 13 years ago • 5 comments

Sometimes I want to free the mount point without taking care is it used by any app or not. When operating from console, this is usually done by adding -f (for umount) or -z (for FUSE utilities) flag. Sometimes this is also referred as 'Lazy unmount'. Couldn't we have a flag that makes the tool to unmount without displaying any errors even if the device is busy?

vdudouyt avatar Jun 12 '12 08:06 vdudouyt

As I see from:

http://hal.freedesktop.org/docs/udisks/Device.html#Device.FilesystemUnmount

force option is available. Only thing I need to decide is how to place it on UI, since current UI was not designed to perform several actions per device.

limansky avatar Jun 12 '12 12:06 limansky

My opinion is that the settings flag is enough. The system-important drives are not normally available for unmount, and lazy unmount is not so dangerous for data (but it's really convenient).

vdudouyt avatar Jun 13 '12 15:06 vdudouyt

Hm, this means that all drives will be unmounted with force flag. I'm not sure if it that the user expect.

limansky avatar Jun 14 '12 07:06 limansky

I think the solution is to ask user if unmount fails if he wants to unmount it forcible (if the force unmount is enabled in options).

limansky avatar Mar 02 '13 09:03 limansky

I think that's how it should be working. With an exception that we even don't need a checkbox in that case.

vdudouyt avatar Mar 02 '13 11:03 vdudouyt