delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2023/09/22/09:30:43

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 9AFC8385773F
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1695389442;
bh=JLTfjNG8fLy/DzbQ3Nr3ppPaTC6V7mnGGhxoRs0VQaE=;
h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=iDh5D33k0rZsnH0l/hBFioEvPQtOxYGN6Y+hIPN/vcM80eIyNXs+vFYXZsnBVLcUr
Dly8n1QuF2W9O003n111PxMwQHb6j1CCWQZD5gZp0KJrjugSBE+2AXsbsK6Qx8ZQXs
q8XoL03ogd/zl8k6QFBLeENkBUxh6yvZMWp7igbs=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 47B383858D37
X-Authority-Analysis: v=2.4 cv=e5oV9Il/ c=1 sm=1 tr=0 ts=650d96d9
a=DxHlV3/gbUaP7LOF0QAmaA==:117 a=DxHlV3/gbUaP7LOF0QAmaA==:17
a=IkcTkHD0fZMA:10 a=cYCMvJSPAAAA:8 a=CMMjM9QlhmS0wDc9GgQA:9 a=QEXdDO2ut3YA:10
a=0cYAWHTMCJUZ_s7sn94O:22
Message-ID: <f289a8cf-1027-8156-da3e-aa2c73e9bd3f@Shaw.ca>
Date: Fri, 22 Sep 2023 07:30:00 -0600
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101
Thunderbird/102.15.1
Subject: Re: Unmount USB stick from Cygwin shell?
To: cygwin AT cygwin DOT com
References: <CANH4o6P=QB9BvFg53KGdyCjs40CMV_dzBP+d=0QeAnKFQQnREA AT mail DOT gmail DOT com>
Organization: Inglis
In-Reply-To: <CANH4o6P=QB9BvFg53KGdyCjs40CMV_dzBP+d=0QeAnKFQQnREA@mail.gmail.com>
X-CMAE-Envelope: MS4xfG4yEuVFbZCDumgIOO3mm8vyD0T9BGe/cmGd1EKaoOZRyVRMiIiVB9tNWk/JvhnuJ1j48m1JQnEOeBkL4nY/wQX5OO4y2O6C3UJXJlRahOPEtFSlTWT6
OUqkUT6KRZAmD2/fByIG2Zbjux44sy0XQl3oAwVwpsdANHvv/CeqHgQfF8qk+ws4mX6bVL7QV/8oCPhygYm4a4tJ7ER3IW2q9RSDtyEQK/5M1w3JS43Ni9BJ
X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW,
SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: Brian Inglis via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Brian Inglis <Brian DOT Inglis AT Shaw DOT ca>
Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 38MDUhFN001658

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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019