public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Brian Inglis <Brian.Inglis@Shaw.ca>
To: cygwin@cygwin.com
Cc: Martin Wege <martin.l.wege@gmail.com>
Subject: Re: Unmount USB stick from Cygwin shell?
Date: Fri, 22 Sep 2023 07:30:00 -0600	[thread overview]
Message-ID: <f289a8cf-1027-8156-da3e-aa2c73e9bd3f@Shaw.ca> (raw)
In-Reply-To: <CANH4o6P=QB9BvFg53KGdyCjs40CMV_dzBP+d=0QeAnKFQQnREA@mail.gmail.com>

On 2023-09-21 23:47, Martin Wege via Cygwin wrote:
> How can I unmount an USB stick from the bash shell?

Download and compile eject.c from Time-Nuts Tom Van Baak's LeapSecond.com tools 
directory:

	http://leapsecond.com/tools/
e.g.
	$ wget -N http://leapsecond.com/tools/eject.c		# or curl -JOR
	# Windows based build may need w32api-headers, cygwin-devel, or more
	$ gcc -o eject eject.c
	$ ./eject e:

or you could build with MS C, or download the precompiled eject.exe from there.

[His site is great if you have any interests in time and frequency below the 
microsecond level.]

-- 
Take care. Thanks, Brian Inglis              Calgary, Alberta, Canada

La perfection est atteinte                   Perfection is achieved
non pas lorsqu'il n'y a plus rien à ajouter  not when there is no more to add
mais lorsqu'il n'y a plus rien à retirer     but when there is no more to cut
                                 -- Antoine de Saint-Exupéry

      reply	other threads:[~2023-09-22 13:30 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-22  5:47 Martin Wege
2023-09-22 13:30 ` Brian Inglis [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f289a8cf-1027-8156-da3e-aa2c73e9bd3f@Shaw.ca \
    --to=brian.inglis@shaw.ca \
    --cc=cygwin@cygwin.com \
    --cc=martin.l.wege@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).