Page 1 of 1
LXDE doesn't unmount external drives on shutdown
Posted: Thu May 20, 2010 1:12 pm
by decomp
Hi all,
Lxde doesn't seem to be safely unmounting my external hard drive when I shutdown. This fact is also making me question whether it's safely unmounting my internal laptop hard drive? Is there a command I can add to a shutdown script somewhere to be sure? I'm currently using ubuntu 9.10 with lxde installed through synaptic.
Thanks!
Re: LXDE doesn't unmount external drives on shutdown
Posted: Thu May 20, 2010 3:10 pm
by Marty Jack
Take this up with Ubuntu if you would please, if you aren't able to figure it out. LXDE does not control the scripts that are run when you shut down. We do the equivalent of "init 6" or "init 0", or have it done by hal or UPower.
Somewhere along the way it should be doing umount -a -d, which should unmount everything that is mounted.
Also, whenever you file a bug report on anything, it is usually necessary to know the version of what you are complaining about, which in this case is the lxsession-logout part of LXSession.
Re: LXDE doesn't unmount external drives on shutdown
Posted: Sat May 29, 2010 8:09 pm
by Kobus
Hi decomp,
Unmounting filesystems at shutdown is no business of LXDE. If you shutdown, LXDE is closed. After that your linux-system - whatever distro you have - should execute a shutdown-script, which unmounts all filesystems. So, as long as you don't change anything in your linux 'init' scripts, there's no reason to worry!!
If, for any reason, you want to unmount any filesystem, like an external drive, while not shuting down LXDE, open a terminal (LXterminal), type
to see what is mounted, and then
, where xxx stand for the filesystem you want to unmount.
I hope this helps to understand Linux.