X-Recipient: archive-cygwin@delorie.com
X-Spam-Check-By: sourceware.org
Message-ID: <4863E00F.BAEA27D8@dessent.net>
Date: Thu, 26 Jun 2008 11:29:35 -0700
From: Brian Dessent <brian@dessent.net>
X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U)
MIME-Version: 1.0
To: Jwelch <jwelch@corp.fanbox.com>
CC: cygwin@cygwin.com
Subject: Re: DD over Netcat
References: <18138826.post@talk.nabble.com> <003a01c8d7b6$eb6650f0$2708a8c0@CAM.ARTIMI.COM> <18140123.post@talk.nabble.com>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Reply-To: cygwin@cygwin.com
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com

Jwelch wrote:

> Ok, that makes sense but I don't have the /device directory. How do I create
> it so I can see it?

You are misinterpreting what is written on that page.  There is no need
to create anything, nor is there a need to know about anything under
\Device as that is the NT name not the POSIX name, and you're using
POSIX dd.  You simply use dd with the appropriate
/dev/sd<letter><number>.  You won't see them in ls but they are
nonetheless present and work, like all the devices listed on that page.

To find out the correct <letter>, look in the Logical Disk Manager
service (can be accessed by running diskmgmt.msc).  You will see each
logical drive listed as "Disk 0", "Disk 1", etc.  /dev/sda corresponds
to Disk 0, /dev/sdb to Disk 1, and so on.  /dev/sda is the whole drive,
/dev/sda1 is the first partition of the drive, and so on.

Brian

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

