[opensuse] Safely remove USB

Hi, When I right-click -> safely remove USB disk on my 10.2 KDE desktop, while the drive is still open somewhere in a konsole or Krusader, it just ignores me. It it just me or shouldn't at least popup a dialog saying the drive is till busy (maybe providing a list of apps that are holding it)? Hans E-Mail disclaimer: http://www.sunspace.co.za/emaildisclaimer.htm -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Wed, August 1, 2007 7:13 am, Hans van der Merwe wrote:
Hi,
When I right-click -> safely remove USB disk on my 10.2 KDE desktop, while the drive is still open somewhere in a konsole or Krusader, it just ignores me.
It it just me or shouldn't at least popup a dialog saying the drive is till busy (maybe providing a list of apps that are holding it)?
That would be useful. How would it be done? Does the kernel (or something else) track which apps are being used by various hardware items? -- k -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

* Kai Ponte <kai@perfectreign.com> [08-01-07 11:42]:
That would be useful. How would it be done? Does the kernel (or something else) track which apps are being used by various hardware items?
lsof <dev/name> -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On Wed, August 1, 2007 8:56 am, Patrick Shanahan wrote:
* Kai Ponte <kai@perfectreign.com> [08-01-07 11:42]:
That would be useful. How would it be done? Does the kernel (or something else) track which apps are being used by various hardware items?
lsof <dev/name>
Thx! ...learn something new every day. :) -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

On 8/1/07, Kai Ponte <kai@perfectreign.com> wrote:
On Wed, August 1, 2007 8:56 am, Patrick Shanahan wrote:
* Kai Ponte <kai@perfectreign.com> [08-01-07 11:42]:
That would be useful. How would it be done? Does the kernel (or something else) track which apps are being used by various hardware items?
lsof <dev/name>
Thx!
...learn something new every day. :)
Kai, lsof is nice, but if you want to kill all the apps using your thumbdrive, check out "fuser -m -k </mnt-point>" as well. Note that this is much more dangerous, so treat with care. Greg -- Greg Freemyer The Norcross Group Forensics for the 21st Century -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org

Hans van der Merwe wrote:
Hi,
When I right-click -> safely remove USB disk on my 10.2 KDE desktop, while the drive is still open somewhere in a konsole or Krusader, it just ignores me.
Silly question: where can I find this "safely remove USB" option for my thumbdrive ? TIA Cheers. Bye. Ph. A. -- *Philippe Andersson* Unix System Administrator IBA Particle Therapy | Tel: +32-10-475.983 Fax: +32-10-487.707 eMail: pan@iba-group.com <http://www.iba-worldwide.com> The contents of this e-mail message and any attachments are intended solely for the recipient (s) named above. This communication is intended to be and to remain confidential and may be protected by intellectual property rights. Any use of the information contained herein (including but not limited to, total or partial reproduction, communication or distribution of any form) by persons other than the designated recipient(s) is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free. Ion Beam Applications does not accept liability for any such errors. Thank you for your cooperation.

* Philippe Andersson <pan@iba-group.com> [08-01-07 12:03]:
Silly question: where can I find this "safely remove USB" option for my thumbdrive ?
*Philippe Andersson* Unix System Administrator IBA Particle Therapy | Tel: +32-10-475.983 Fax: +32-10-487.707 eMail: pan@iba-group.com <http://www.iba-worldwide.com>
4 PLUS three
The contents of this e-mail message and any attachments are intended solely for the recipient (s) named above. This communication is intended to be and to remain confidential and may be protected by intellectual property rights. Any use of the information contained herein (including but not limited to, total or partial reproduction, communication or distribution of any form) by persons other than the designated recipient(s) is prohibited. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete this e-mail from your system. E-mail transmission cannot be guaranteed to be secure or error-free. Ion Beam Applications does not accept liability for any such errors. Thank you for your cooperation.
I hope I am not violating any of your rights. If I was not the intended recipient of this email, please do not send it to me. past that, using KDE, right click on the desktop object representing your thumb-drive. -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Greg Freemyer
-
Hans van der Merwe
-
Kai Ponte
-
Patrick Shanahan
-
Philippe Andersson