Device names in /proc/mounts

Corinna Vinschen corinna-cygwin@cygwin.com
Sat Jul 30 08:18:00 GMT 2011


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



More information about the Cygwin mailing list