Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Forcible unmount #3

Open
vdudouyt opened this issue Jun 12, 2012 · 5 comments
Open

Forcible unmount #3

vdudouyt opened this issue Jun 12, 2012 · 5 comments
Labels

Comments

@vdudouyt
Copy link

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?

@limansky
Copy link
Owner

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.

@vdudouyt
Copy link
Author

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

@limansky
Copy link
Owner

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

@limansky
Copy link
Owner

limansky commented Mar 2, 2013

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

@vdudouyt
Copy link
Author

vdudouyt commented Mar 2, 2013

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants