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
--
Problem reports: https://cygwin.com/problems.html
FAQ: https://cygwin.com/faq/
Documentation: https://cygwin.com/docs.html
Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple