Message-Id: <200506170707.j5H77LDQ009925@delorie.com> Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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" To: Subject: RE: POSIX devices Date: Fri, 17 Jun 2005 02:06:48 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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/