POSIX devices

Oliver Vecernik ml@vecernik.at
Fri Jun 17 07:07:00 GMT 2005


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

Oliver

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



More information about the Cygwin mailing list