delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/07/30/04:18:09

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Sat, 30 Jul 2011 10:17:18 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Device names in /proc/mounts
Message-ID: <20110730081718.GC3569@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20110729092027 DOT GA19240 AT calimero DOT vinschen DOT de> <9B10FEAACF062F48A095880A451FF05903819B331A AT DEMCHP99E84MSX DOT ww902 DOT siemens DOT net> <20110729201556 DOT GA13084 AT calimero DOT vinschen DOT de> <20110730045235 DOT GA17962 AT ednor DOT casa DOT cgf DOT cx>
MIME-Version: 1.0
In-Reply-To: <20110730045235.GA17962@ednor.casa.cgf.cx>
User-Agent: Mutt/1.5.21 (2010-09-15)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Jul 30 00:52, Christopher Faylor wrote:
> On Fri, Jul 29, 2011 at 10:15:56PM +0200, Corinna Vinschen wrote:
> >On Jul 29 15:34, Schwarz, Konrad wrote:
> >> > > Can you answer the following question:
> >> > > 
> >> > > Given a volume label, how does one figure out where the 
> >> > corresponding 
> >> > > volume has been mounted into the Cygwin namespace?
> >> > 
> >> > We're not mounting volumes, we're mounting Win32 paths.  
> >> > There is no direct correspondence between volumes and Cygwin 
> >> > mount points.
> >> 
> >> When a person inserts removable media (USB memory stick, optical disk, ...),
> >> Windows assigns a more-or-less random drive letter.
> >> Cygwin automatically makes this drive letter available
> >> under /cygdrive/ (or whatever the user has renamed /cygdrive to).
> >> 
> >> Given a (unique) volume label or disk UUID, blk_id(8) on
> >> both Linux and Cygwin tells you the disk and partition
> >> in /dev/sdXY format.
> >
> >It does?  Interesting.  Where does it get the data under Cygwin?
> 
> Huh.  On my system blk_id(8) says "command not found".  And,
> 
> http://cygwin.com/cgi-bin2/package-grep.cgi?grep=blk_id
> 
> says "Found 0 matches for blk_id"

Konrad means blkid.  It's in the util-linux package.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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