delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/07/24/04:45:48

X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6C18D388E80D
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1595580310;
bh=9uVc8YHUPQMPteRyIkkMM9ppFJ4Oo1c9yopuV9CkhA0=;
h=Date:From:To:Subject:References:In-Reply-To:List-Id:
List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe:
Reply-To:From;
b=qYuuoHGwRsIPxc2gDg1xU94Ymvq0UmbahIFPlB8c+MTxicuKAvqKtr9Xd7xnWf6cf
/W+H+ozQoTAZ5RxwacsWQ4pSjafvVN5DCc8ZNL0WM9bcqE0ILvZ80z4Pa43afrB2Zf
1SZM97qok0kLQU8nMh0fxwH5LDTSJlH/e4ApdcZE=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
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 AT cygwin DOT com
Date: Fri, 24 Jul 2020 10:45:05 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Relating device names in /dev/ to drive letters in Windows.
Message-ID: <20200724084505.GB4206@calimero.vinschen.de>
Mail-Followup-To: cygwin AT cygwin DOT com
References: <AM0PR05MB4898BE767E2785150F88507BE7760 AT AM0PR05MB4898 DOT eurprd05 DOT prod DOT outlook DOT com>
<AM0PR05MB4898B9298AE51474FA513B4FE7760 AT AM0PR05MB4898 DOT eurprd05 DOT prod DOT outlook DOT com>
MIME-Version: 1.0
In-Reply-To: <AM0PR05MB4898B9298AE51474FA513B4FE7760@AM0PR05MB4898.eurprd05.prod.outlook.com>
X-Provags-ID: V03:K1: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PGu1zZjakmCO8BpsWjuJjv53HZVjhtCL8z53f/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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <http://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: <http://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Reply-To: cygwin AT cygwin DOT com
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>

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
--
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