Bugzilla – Bug 257363
Umount removable devices when going to sleep
Last modified: 2007-04-16 21:05:50 UTC
Usecase: 1. Mount removable device. 2. Whrite a big piece of data on it. 3. Go to sleep (hibernate). 4. Remove the device. Linux does not umount the device before it goes to hibernate, so the data lost.
I guess stuff should be "sync" 'ed before going to hibernate, not unmount it.
Ah. Yes!
No, it should be unmounted. What desktop are you using? How are you mounting the device?
I am using KDE, and the device is mounting automatically with it. I can't say exactly, sync or unmount, but it must not loose my data.
did you apply the latest kdebase and kpowersave online updates? Those should fix the "unmount external drives before suspend" issues. External drives should now be unmounted, and if this is not possible, you should get a popup window.
But you may have to remove your ~/.kde/share/config/kpowersaverc if you ignored the umount dialog in the past with 'Don't show again'. Btw. if you have the volume mounted and access the device (e.g. in bash) while suspend called the suspend fail.
Yes, I have a popup. It says "failed to halt" (in russian, I don't know exactly translation) but the susped process works perfectly :) I'll try to download new Kpowersave and KDE binaries this week later.
mark as duplicate, reopen if this not work after YOU updates *** This bug has been marked as a duplicate of bug 215262 ***