public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Ejecting a USB drive using Cygwin (sync)?
@ 2018-01-23 11:14 Ronald Fischer
  2018-01-23 15:41 ` Nem W Schlecht
                   ` (2 more replies)
  0 siblings, 3 replies; 11+ messages in thread
From: Ronald Fischer @ 2018-01-23 11:14 UTC (permalink / raw)
  To: cygwin

I'm looking for a command, which would allow me from a shell script to prepare the removal of a USB device (stick, external hard drive etc.). With other words, after issuing the command, I should be able to physically remove the USB device.

Can the `sync` command be used, for instance

    sync -f /cygdrive/e

assuming that the USB device is on drive E:? The man page of *sync* is a bit vague in this respect. Or is there another Cygwin command which can be used for this purpose?

Ronald

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

^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2018-01-26  1:31 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-23 11:14 Ejecting a USB drive using Cygwin (sync)? Ronald Fischer
2018-01-23 15:41 ` Nem W Schlecht
2018-01-23 18:50 ` Andrey Repin
2018-01-23 21:13 ` Brian Inglis
2018-01-23 23:36   ` Steven Penny
2018-01-25  3:02     ` Brian Inglis
2018-01-25  9:58       ` David Allsopp
2018-01-25 20:37         ` Brian Inglis
2018-01-25 21:43           ` Doug Henderson
2018-01-26  1:31             ` Brian Inglis
2018-01-25 12:45     ` Marco Atzeri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).