On Tue, Nov 1, 2011 at 5:55 AM, Steve <[email protected]> wrote: >> You may not umount successfully if accesses to the filesystem is >> pending or ongoing. > > Yes, that is exactly the point. If you cannot unmount, you cannot and > SHOULD NOT suspend. So, if the user clicks Suspend and everything in > /media cannot be unmounted, you give an error instead of suspending.
It will make user confused if suspend operation is just failed because of a usb mass storage device connected and some directories or files are open, looks like it is a bit stupid, doesn't it? Just check for /media is still not enough too, someone may mount external block devices under other directories. thanks, -- Ming Lei -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/883748 Title: Suspend/resume corrupts external data storage devices To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/883748/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
