how to safely remove hardware with cygwin ?

2008-02-28 Thread Tom Hall
Is there a cygwin command line utility that will perform the function that
Windows does when you safely remove hardware - like before unplugging
a USB drive ?


--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: how to safely remove hardware with cygwin ?

2008-02-28 Thread Igor Peshansky
On Thu, 28 Feb 2008, Tom Hall wrote:

 Is there a cygwin command line utility that will perform the function
 that Windows does when you safely remove hardware - like before
 unplugging a USB drive ?

Not in the main distribution, but in the past I got both
http://www.hoopyfrood.net/DevEject and
http://www.heise.de/ct/03/16/links/208.shtml to work with minor
modifications...  I've been meaning to package them, but haven't gotten a
round tuit yet.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

That which is hateful to you, do not do to your neighbor.  That is the whole
Torah; the rest is commentary.  Go and study it. -- Rabbi Hillel

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/



Re: how to safely remove hardware with cygwin ?

2008-02-28 Thread Tom Hall
On Thu, Feb 28, 2008 at 01:36:38PM -0500, Igor Peshansky wrote:
 
 Not in the main distribution, but in the past I got both
 http://www.hoopyfrood.net/DevEject and
 http://www.heise.de/ct/03/16/links/208.shtml to work with minor
 modifications...  I've been meaning to package them, but haven't gotten a
 round tuit yet.
   Igor

Thanks Igor - I also just found out that MicroSoft provides a command line
utility for their device manager called devcon and it seems to work for
me, so no hurry on the package (but I'm sure the package would be better :-)

- Tom



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/