From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mout.kundenserver.de (mout.kundenserver.de [212.227.126.134]) by sourceware.org (Postfix) with ESMTPS id C607C3857C42 for ; Fri, 24 Jul 2020 08:45:07 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org C607C3857C42 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=cygwin.com Authentication-Results: sourceware.org; spf=fail smtp.mailfrom=corinna-cygwin@cygwin.com Received: from calimero.vinschen.de ([217.91.18.234]) by mrelayeu.kundenserver.de (mreue010 [212.227.15.167]) with ESMTPSA (Nemesis) id 1MvKL3-1kptQ31cXp-00rL3e for ; Fri, 24 Jul 2020 10:45:06 +0200 Received: by calimero.vinschen.de (Postfix, from userid 500) id 0BCFFA81012; Fri, 24 Jul 2020 10:45:06 +0200 (CEST) Date: Fri, 24 Jul 2020 10:45:05 +0200 From: Corinna Vinschen To: cygwin@cygwin.com Subject: Re: Relating device names in /dev/ to drive letters in Windows. Message-ID: <20200724084505.GB4206@calimero.vinschen.de> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Provags-ID: V03:K1:Tb5/WrLbIrf1z/MawxF4aUGtWROca86g2YJJjMq3kxSR+R7sXbw Jmik3f6x5VBWuKRZ2A15yqqx8upJ5hLFqxaoB8jaomDyStDzF7XL6FY2R1Pj9yKD3L+n3Sq O4rzG7o8nFt6PbuDFXA9ijyMvvUkUVmJhlp0cFDW+kxviX5KohZ1WA15MpkS4u7gcg4GHK4 ixEldiKeYEnvLNyJDNOCQ== X-UI-Out-Filterresults: notjunk:1;V03:K0:hlsgAX0EfZ8=:LN3aoZyXnVn8zQ0eEuwbDQ XhQg0FQ9hF1xEJfp0FQ+1pM1w6VodSo/JbYxLynaPlIDlQxEna2RWFY/4oXDXjA3Y1BCk30uv +eS2rRax0EULRWksgIf97024malgg5nuR9Ljzj/pq7X7ZrGAViXrZVCr1Fb0+9V1jN/74mu/i nrDtNfI09thHB4rqDJXDU6ZZmUgA7nGwOmGANQ4DbxrTViRZt9AlnFnUZxohgPXy3x/WBv27c raT2JXAXvQ9NOzKK3BgJJ/SAhtBFEVolJbRW+OstSkhpgJ7B/Dm9YfLEjspcmkHs5/m5Duy3+ gMPduGhOkDvoF2iFZd1vbCVqhi+EjCB0YblPH8nq2yi5q5rRgzbvK5RdFNktCb5Z8bBJooePu 5CEx8drZoe+g/Lw9f5w77rL5A9+WZoR/I6X/OTJaExfx1v9Grikt/APgLLoubYPvwgEKR3GFt F5IYkQTK/S+IxFBtgdmRz4BUB4Y/LdaRQ4JOTml5yLKyVi37NcWoab/qPY+jUjazvNEfq2+o9 3WLfvNN7G7uAdjOAMtlEWYqeKYcKo9+qfIyRaawI1SvVMFVa2X9gN+oJZmCvp5scOpJ9+1afm jeMC0O2Ltml/AnxjPE6XQUGq8PBghxI3MXcLRhQBhaVbxQuVvT7KR7Bme1Z63yVAtYIP2rFTJ G/BrBrR0a+XL0R3bibIOY9GD8OJ7qHYmB0MBE4Y5YWS4YscVdVx8sQbtYwF/yuKgcWfj55qK9 EgmmDf+EizhMoqql7Pi73L/zZojuqepfX0PGu1zZjakmCO8BpsWjuJjv53HZVjhtCL8z53f/0 jDv4PCxuGezJ4/L9ae+5vF8j+HF55leBwM/zWn4ntkoC5a7s9/m7w1mZ8Fe/R3IyRXbHYJZw9 bKC9qu/vNx2ec9NVNJjQ== X-Spam-Status: No, score=-99.7 required=5.0 tests=BAYES_00, GOOD_FROM_CORINNA_CYGWIN, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_NEUTRAL, TXREP autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Jul 2020 08:45:09 -0000 On Jul 23 12:29, Hamish McIntyre-Bhatty via Cygwin wrote: > On 23/07/2020 10:36, Hamish McIntyre-Bhatty wrote: > > Hi all, > > > > I have noticed that after plugging in a USB drive, device files appear > > in /dev that correlate to the partitions on the drive. > > > > This is great because it means things like ddrescue can work in Cygwin, > > but I'm not yet sure how to relate these to the drives Windows sees. > > None of the standard Linux tools I use to gather system information > > (lsblk, blkid, lshw) seem to be available on Cygwin. I'm guessing this > > is because they won't work because there's no kernel or low level > > hardware access or something like that. Does anyone know how to do this? > > > > Hamish > > > Just replying to note that I found > https://www.cygwin.com/cygwin-ug-net/using-specialnames.html, which > covers some of my question. > > However, some things (like build in CD/DVD drives) don't show up in > /proc/partitions, so that's still not ideal. Also is there any way I can > get Make/Model and similar information from Cygwin? The smartmontools package may help you there. Corinna -- Corinna Vinschen Cygwin Maintainer