Bug 257363 - Umount removable devices when going to sleep
Summary: Umount removable devices when going to sleep
Status: RESOLVED DUPLICATE of bug 215262
Alias: None
Product: openSUSE 10.2
Classification: openSUSE
Component: Hotplug (show other bugs)
Version: Final
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Forgotten User ZhJd0F0L3x
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-25 21:20 UTC by Benjamen Aceler
Modified: 2007-04-16 21:05 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Benjamen Aceler 2007-03-25 21:20:48 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.
Comment 1 Cristian Rodríguez 2007-03-25 23:52:34 UTC
I guess stuff should be "sync" 'ed before going to hibernate, not unmount it.
Comment 2 Benjamen Aceler 2007-03-26 05:11:09 UTC
Ah. Yes!
Comment 3 Forgotten User ZhJd0F0L3x 2007-03-26 14:02:47 UTC
No, it should be unmounted.

What desktop are you using?
How are you mounting the device?
Comment 4 Benjamen Aceler 2007-04-07 12:51:34 UTC
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.
Comment 5 Forgotten User ZhJd0F0L3x 2007-04-16 13:09:26 UTC
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.
Comment 6 Danny Al-Gaaf 2007-04-16 15:48:48 UTC
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. 
Comment 7 Benjamen Aceler 2007-04-16 19:04:40 UTC
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. 
Comment 8 Danny Al-Gaaf 2007-04-16 21:05:50 UTC
mark as duplicate, reopen if this not work after YOU updates

*** This bug has been marked as a duplicate of bug 215262 ***