delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/06/17/03:07:25

Message-Id: <200506170707.j5H77LDQ009925@delorie.com>
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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
From: "Gary R. Van Sickle" <g DOT r DOT vansickle AT worldnet DOT att DOT net>
To: <cygwin AT cygwin DOT com>
Subject: RE: POSIX devices
Date: Fri, 17 Jun 2005 02:06:48 -0500
MIME-Version: 1.0
In-Reply-To: <42B269D5.2050907@hq.astra.ph>
X-IsSubscribed: yes

> -----Original Message-----
> From: cygwin-owner AT cygwin DOT com 
> [mailto:cygwin-owner AT cygwin DOT com] On Behalf Of Carlo Florendo
> Sent: Friday, June 17, 2005 1:13 AM
> To: Oliver Vecernik
> Cc: cygwin AT cygwin DOT com
> Subject: Re: POSIX devices
> 
> Oliver Vecernik wrote:
> 
> >Hi all,
> >
> >I'd like to inspect some MBR's from various devices. I have 
> an external 
> >Firewire disk (x:), an USB stick (e:) and a flash card (F:, pcmcia).
> >
> >$ mount
> >C:\cygwin\usr\X11R6\lib\X11\fonts on /usr/X11R6/lib/X11/fonts type 
> >system (binmo
> >de)
> >C:\cygwin\bin on /usr/bin type user (binmode) C:\cygwin\bin 
> on /usr/bin 
> >type system (binmode) C:\cygwin\lib on /usr/lib type user (binmode) 
> >C:\cygwin\lib on /usr/lib type system (binmode) C:\cygwin on / type 
> >user (binmode) C:\cygwin on / type system (binmode)
> >c: on /c type system (binmode)
> >n: on /n type system (binmode)
> >x: on /x type system (binmode)
> >z: on /z type system (binmode)
> >e: on /cygdrive/e type user (binmode,noumount)
> >f: on /cygdrive/f type user (binmode,noumount)
> >
> >But how do I know the order of device names? It all depends when the 
> >devices are plugged on to the system. Is there a command to find out?
> >
> >dd if=/dev/sd? of=/tmp/foo bs=512 count=1
> >
> >  
> >
> 
> AFAIK, Cygwin does not implement the /dev directory. 
> 

Actually it has for a while now.

> I'm afraid there is no cygwin command to find out the order 
> of devices plugged to the system although I'd be glad if 
> someone corrects me and says that there is. 
>

You're correct here though AFAIK.  In particular "ls /dev" doesn't tell you
anything useful.

-- 
Gary R. Van Sickle
  
> Thank you very much.
> 
> Best Regards,
> 
> Carlo
> 
> --
> Carlo Florendo
> Astra Philippines Inc.
> www.astra.ph
> 
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Problem reports:       http://cygwin.com/problems.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 


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

- Raw text -


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