From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from omta001.cacentral1.a.cloudfilter.net (omta001.cacentral1.a.cloudfilter.net [3.97.99.32]) by sourceware.org (Postfix) with ESMTPS id 47B383858D37 for ; Fri, 22 Sep 2023 13:30:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 47B383858D37 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=Shaw.ca Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=shaw.ca Received: from shw-obgw-4002a.ext.cloudfilter.net ([10.228.9.250]) by cmsmtp with ESMTP id jd7sqhwfaLAoIjgELqIB0U; Fri, 22 Sep 2023 13:30:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=shaw.ca; s=s20180605; t=1695389401; bh=dLIkTI/XQcYkQRpFQmthQBlJbDnYZOjsA9clVyjAqXU=; h=Date:Reply-To:Subject:To:References:Cc:From:In-Reply-To; b=s12CqYvkGr6JnnV+2sNHoWKIgPxEJcs+/IwwceQDnqznF1YMUa3qw/LfouGwMa2j+ IJi+y0HaV7wLF0DkfxQ9PJBbXNpVVqKkL1myNY1FIQbbjUGrwLr7QCfNgvelc44EKS Si7IaOzqe+n8IBfCEb/DcTg7IXwfYZy+s1MKo6HFqb1vhohQ7MP/M1OFuwjmjAXWOD IgmRuGyiBlXqNBY8xmg5lh0vY2QiYgODOf9VByYsyoIs02A8ROCdHtgBgv8Z/jCgjv P5MYGLVfDl26OX1maKsQul8OE2vxjdB42Y/fFHRNVL+Q1KV8j36aZ9HlTEp/UlfXq5 5MlZElnPfOIYw== Received: from [10.0.0.5] ([184.64.102.149]) by cmsmtp with ESMTP id jgELqpsaGyAOejgELqFVd7; Fri, 22 Sep 2023 13:30:01 +0000 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: 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 Reply-To: cygwin@cygwin.com Subject: Re: Unmount USB stick from Cygwin shell? Content-Language: en-CA To: cygwin@cygwin.com References: Cc: Martin Wege From: Brian Inglis Organization: Inglis In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 List-Id: 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