X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Message-ID: <18141717.post@talk.nabble.com> Date: Thu, 26 Jun 2008 12:39:20 -0700 (PDT) From: Jwelch To: cygwin AT cygwin DOT com Subject: Re: DD over Netcat In-Reply-To: <4863E00F.BAEA27D8@dessent.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Nabble-From: jwelch AT corp DOT fanbox DOT com References: <18138826 DOT post AT talk DOT nabble DOT com> <003a01c8d7b6$eb6650f0$2708a8c0 AT CAM DOT ARTIMI DOT COM> <18140123 DOT post AT talk DOT nabble DOT com> <4863E00F DOT BAEA27D8 AT dessent DOT net> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 This is some good stuff, thanks for all the feedback, I really appreciate it. The problem I have now is that every time I try to DD the drive, it freezes on me. I have tried it 3 times and it freezes on the same number of bytes every time. $ nc -l -p 7000 | dd of=/dev/sda punt! 16+0 records in 16+0 records out 8192 bytes (8.2 kB) copied, 972.875 s, 0.0 kB/s Is there any way I can check for errors or any of you guys have an idea why it would do this? Thanks Brian Dessent wrote: > > 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. 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 , 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/ > > > -- View this message in context: http://www.nabble.com/DD-over-Netcat-tp18138826p18141717.html Sent from the Cygwin list mailing list archive at Nabble.com. -- 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/