Home » Questions » Computers [ Ask a new question ]

Force unmount in Ubuntu, to fix problems after netbook sleep mode

Force unmount in Ubuntu, to fix problems after netbook sleep mode

The only thing I actually need to know here, is how to force an unmount while device is busy. umount -f doesn't work. The following description is just background for why I need to do this, in case someone manages to come up with a better solution. If there it is not possible to do this unmount, I'll gladly accept an explanation for why not as the answer.

Asked by: Guest | Views: 34
Total answers/comments: 1
Guest [Entry]

"Have you tried the -f flag to umount?

umount -f /home/ilari/storage

Doing someting like this automatically, would involve a little script in /etc/pm/sleep.d/. But I recommend you un-mount when going to sleep and re-mount on wake-up. I recently got a good answer that should tell you what to do to write that little script."