public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Problem with dd to raw disks
@ 2004-03-01 12:29 Anees Mannesseri
  0 siblings, 0 replies; 12+ messages in thread
From: Anees Mannesseri @ 2004-03-01 12:29 UTC (permalink / raw)
  To: cygwin

Hi,
  I am facing problems issuing dd to raw disks from
windows 2k3 server thru cygwin.

dd if/dev/zero of="\\\\.\\PHYSICALDRIVE4" count=50000
seek =3 fails with the error 

dd: opening `\\\\.\\PHYSICALDRIVE4': Invalid argument

But it works the other way, I mean if i give
"\\\\.\\PHYSICALDRIVE4" as the input device and
/dev/null as the output device.
Any hints/clues ?

Thanks
Anees

__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

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

^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: Problem with dd to raw disks
@ 2004-03-01 13:08 Morche Matthias
  2004-03-01 14:47 ` Corinna Vinschen
  0 siblings, 1 reply; 12+ messages in thread
From: Morche Matthias @ 2004-03-01 13:08 UTC (permalink / raw)
  To: Cygwin Mailinglist (E-Mail)

Did You ever try to use //./physicaldrive4 instead? It seems to a "quotation problem"...

> -----Original Message-----
> From: cygwin-owner@cygwin.com 
> [mailto:cygwin-owner@cygwin.com]On Behalf
> Of Anees Mannesseri
> Sent: Monday, March 01, 2004 1:29 PM
> To: cygwin@cygwin.com
> Subject: Problem with dd to raw disks
> 
...
> dd if/dev/zero of="\\\\.\\PHYSICALDRIVE4" count=50000
> seek =3 fails with the error 
> 
> dd: opening `\\\\.\\PHYSICALDRIVE4': Invalid argument
...

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

^ permalink raw reply	[flat|nested] 12+ messages in thread
* Re: Problem with dd to raw disks
@ 2004-03-01 16:21 Anees Mannesseri
  0 siblings, 0 replies; 12+ messages in thread
From: Anees Mannesseri @ 2004-03-01 16:21 UTC (permalink / raw)
  To: cygwin

Hi,
 Thanx for the references. I tried the forward slash,
but that didnt help. After going thru the user's
guide, i tried /dev/sde instead of //./PHYSICALDRIVE4
and it worked. From what i could undertand, the
problem is with opening the file for write. Any clue
on how to get thru this ?

Thanx
Anees
>On Mar  1 14:07, Morche Matthias wrote:
> Did You ever try to use //./physicaldrive4 instead?
It seems to a "quotation problem"...

>What about reading the user's guide instead?

>http://cygwin.com/cygwin-ug-net/using->specialnames.html#AEN806

>Corinna

> > -----Original Message-----
> > dd if/dev/zero of="\\\\.\\PHYSICALDRIVE4"
count=50000
> > seek =3 fails with the error 
> > 
> > dd: opening `\\\\.\\PHYSICALDRIVE4': Invalid
argument
> ...
> 
> --


__________________________________
Do you Yahoo!?
Get better spam protection with Yahoo! Mail.
http://antispam.yahoo.com/tools

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

^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: Problem with dd to raw disks
@ 2004-03-01 17:45 Hughes, Bill
  0 siblings, 0 replies; 12+ messages in thread
From: Hughes, Bill @ 2004-03-01 17:45 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

> Sent: 01 March 2004 16:45 From: Christopher Faylor
> On Mon, Mar 01, 2004 at 11:35:40AM -0500, Larry Hall wrote:
> >Pah! The User's Guide.  That's just a document full of useful
> >information.  Why would anyone want to read that?  ;-)
> 
> Maybe we need a howto on reading the user's guide.  It should 
> certainly
> be in the FAQ that people should read the documentation.  How 
> would people
> know that they should read the documentation unless it was spelled out
> somewhere in black and white?
> 
> cgf

But then how would anyone know to read the FAQ, or indeed how to find it?
It's much easier just to ask on this list, no-one minds after all...

Bill
--

This e-mail transmission is strictly confidential and intended solely
for the person or organisation to whom it is addressed. It may contain
privileged and confidential information and if you are not the intended
recipient, you must not copy, distribute or take any action in reliance
on it. If you have received this email in error, please reply to the
sender as soon as possible and delete the message. Please note that we
are able to, and reserve the right to, monitor e-mail communications
passing through our network.

The views expressed in this email are not that of the company unless
specified within the message.

The inclusion of this footnote indicates that the mail message and any
attachments have been checked for the presence of known viruses.

If you have any comments regarding our policy please direct them to
postmaster@cox.co.uk
________________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.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/

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2004-03-01 18:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-03-01 12:29 Problem with dd to raw disks Anees Mannesseri
2004-03-01 13:08 Morche Matthias
2004-03-01 14:47 ` Corinna Vinschen
2004-03-01 16:37   ` Larry Hall
2004-03-01 16:44     ` Christopher Faylor
2004-03-01 17:16       ` Yitzchak Scott-Thoennes
2004-03-01 17:24         ` Ken Thompson
2004-03-01 17:39           ` Yitzchak Scott-Thoennes
2004-03-01 17:46           ` Igor Pechtchanski
2004-03-01 18:38         ` Christopher Faylor
2004-03-01 16:21 Anees Mannesseri
2004-03-01 17:45 Hughes, Bill

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).