-
Notifications
You must be signed in to change notification settings - Fork 21
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
[Suggestion] umount dir before mount, incase it's already mounted #3
Comments
What do you mean? Eric On Sun, Nov 16, 2014 at 3:02 PM, Michael Karbowiak
|
Exactly! :) Once the script is stopped, it doesn't automatically unmount, thus leaving behind the mount, blocking it from being used unless it's unmounted before hand :) |
Just tested it, sadly it doesn't unmount the mount automatically on Debian Wheezy using the 0.11 branch. It's like the command is never executed, tried running as the user that mounted the path, and as root, even tried changing it from Nada :( |
I thought it would have just worked on linux. I'm not really sure why it's not unmounting. Maybe I need to add a delay between unmounting and mounting? |
Just pulled the new code, and gave it a whirl.
Still no dice tho, tried changing it to umount instead of fusermount -u aswell, same thing. It seems that it's not even trying to execute the command? |
what's odd is that you have no error messages or actual output from unmounting. it might be that for some reason, on your distro, it requires the full path. |
Changed
to
This is the output
Tried changing it to /o\ edit:// |
I might be spinning up a VM soon. So I will check that out when I do. |
Coolio, feel free to tell me to do stuff :) |
You've done everything I've though of so far, but maybe I'll have some more ideas later. |
Hi..
Is it possible to make it unmount the dir that it's set to mount it to ?
Maybe add a true/false thing that is default false, so people can turn it on / off :)
The text was updated successfully, but these errors were encountered: