public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: dd.exe
@ 2000-01-17  9:28 Gary R. Van Sickle
  0 siblings, 0 replies; 11+ messages in thread
From: Gary R. Van Sickle @ 2000-01-17  9:28 UTC (permalink / raw)
  To: cygwin; +Cc: Abdelmajid.Bouazza

> I extract the file cygwin-inst-20000113_tar.gz in the cygwin directory
> And now dd if=foo of=/dev/fd0 bs=512 works :-)

Hi Abdelmajid,

If you simply extract the cygwin-inst-* snapshots into your cygwin-b20
directory, not everthing gets into its proper directories.  See my Cygwin
Tips site ( http://www.woodsoup.org/projs/ORKiD/updating.htm#DROOLVIEW ) for
intructions on where to move things, or use my 'DroolView' snapshot
distribution, which is 'pre-cooked' so that everything ends up in the proper
place automatically.

Good luck,

Gary R. Van Sickle <tiberius@braemarinc.com>


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: dd.exe
  2000-01-17 15:27         ` dd.exe Corinna Vinschen
@ 2000-01-18  0:57           ` Abdelmajid Bouazza
  0 siblings, 0 replies; 11+ messages in thread
From: Abdelmajid Bouazza @ 2000-01-18  0:57 UTC (permalink / raw)
  To: cygwin

Thanks for all responses, I have learned several things.
(excuse my english :-))

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: dd.exe
  2000-01-17  8:10       ` dd.exe Abdelmajid Bouazza
@ 2000-01-17 15:27         ` Corinna Vinschen
  2000-01-18  0:57           ` dd.exe Abdelmajid Bouazza
  0 siblings, 1 reply; 11+ messages in thread
From: Corinna Vinschen @ 2000-01-17 15:27 UTC (permalink / raw)
  To: Abdelmajid Bouazza; +Cc: cygwin

Abdelmajid Bouazza wrote:
> I extract the file cygwin-inst-20000113_tar.gz in the cygwin directory
> And now dd if=foo of=/dev/fd0 bs=512 works :-)
> 
> But :-( I don't understand why it doesn't work when the /dev/fd0 isn't
> mounted
> using dd if=foo of=//./A: bs=512 ?

Raw devices are not handled fully transparent by WinNT. Cygwin
recognizes raw devices by their posix paths.

> Exacly, I want to use dd independently of cygwin
> (ie dd.exe + cygwinXX.dll only)

No problem if you mount it before the first usage.

Corinna

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: dd.exe
  2000-01-17  7:35     ` dd.exe Corinna Vinschen
@ 2000-01-17  8:10       ` Abdelmajid Bouazza
  2000-01-17 15:27         ` dd.exe Corinna Vinschen
  0 siblings, 1 reply; 11+ messages in thread
From: Abdelmajid Bouazza @ 2000-01-17  8:10 UTC (permalink / raw)
  To: cygwin

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1313 bytes --]

I extract the file cygwin-inst-20000113_tar.gz in the cygwin directory
And now dd if=foo of=/dev/fd0 bs=512 works :-)

But :-( I don't understand why it doesn't work when the /dev/fd0 isn't
mounted
using dd if=foo of=//./A: bs=512 ?

Exacly, I want to use dd independently of cygwin 
(ie dd.exe + cygwinXX.dll only)

Regards,
Abdelmajid.
Corinna Vinschen a écrit :
> 
> Abdelmajid Bouazza wrote:
> >
> > > ... and after mounting the floppy to /dev/fd0 you should _use_ it in
> > > the related commands:
> > >
> > >         dd if=foo of=/dev/fd0 bs=512
> > >
> >
> > I get this when using /dev/fd0:
> >
> > bash-2.02$ dd if=/fd0.img of=/dev/fd0 bs=512
> > dd: /dev/fd0: No such file or directory
> >
> > I tries mknod and I get:
> > bash-2.02$ mknod /dev/fd0 b 2 0
> > mknod: /dev/fd0: Function not implemented
> >
> > PS: I'm using the latest realease of cygwin: b20
> 
> Oops, the raw device support is not completely implemented in
> B20 and B20.1.
> 
> Try the latest snapshot from
>   ftp://sourceware.cygnus.com/pub/cygwin/snapshots/
> 
> Regards,
> Corinna
> 
> PS: mknod isn't implemented at all.
> 
> --
> Want to unsubscribe from this list?
> Send a message to cygwin-unsubscribe@sourceware.cygnus.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: dd.exe
       [not found]   ` <38832614.85E9AC6@loria.fr>
@ 2000-01-17  7:35     ` Corinna Vinschen
  2000-01-17  8:10       ` dd.exe Abdelmajid Bouazza
  0 siblings, 1 reply; 11+ messages in thread
From: Corinna Vinschen @ 2000-01-17  7:35 UTC (permalink / raw)
  To: Abdelmajid Bouazza; +Cc: cygwin

Abdelmajid Bouazza wrote:
> 
> > ... and after mounting the floppy to /dev/fd0 you should _use_ it in
> > the related commands:
> >
> >         dd if=foo of=/dev/fd0 bs=512
> >
> 
> I get this when using /dev/fd0:
> 
> bash-2.02$ dd if=/fd0.img of=/dev/fd0 bs=512
> dd: /dev/fd0: No such file or directory
> 
> I tries mknod and I get:
> bash-2.02$ mknod /dev/fd0 b 2 0
> mknod: /dev/fd0: Function not implemented
> 
> PS: I'm using the latest realease of cygwin: b20

Oops, the raw device support is not completely implemented in
B20 and B20.1.

Try the latest snapshot from
  ftp://sourceware.cygnus.com/pub/cygwin/snapshots/

Regards,
Corinna

PS: mknod isn't implemented at all.

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: dd.exe
@ 2000-01-17  6:53 Earnie Boyd
  0 siblings, 0 replies; 11+ messages in thread
From: Earnie Boyd @ 2000-01-17  6:53 UTC (permalink / raw)
  To: Abdelmajid Bouazza, cygwin

--- Abdelmajid Bouazza <Abdelmajid.Bouazza@loria.fr> wrote:
-8<-
> 
> PS: I'm using the latest realease of cygwin: b20
> 

You need to either buy the CD version 1 or download a current snapshot.


=====
Earnie Boyd < mailto:earnie_boyd@yahoo.com >
Cygwin Newbies, please visit
< http://www.freeyellow.com/members5/gw32/index.html >
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: dd.exe
  2000-01-17  3:26 ` dd.exe Corinna Vinschen
@ 2000-01-17  6:22   ` Abdelmajid Bouazza
       [not found]   ` <38832614.85E9AC6@loria.fr>
  1 sibling, 0 replies; 11+ messages in thread
From: Abdelmajid Bouazza @ 2000-01-17  6:22 UTC (permalink / raw)
  To: cygwin

> ... and after mounting the floppy to /dev/fd0 you should _use_ it in
> the related commands:
> 
>         dd if=foo of=/dev/fd0 bs=512
> 

I get this when using /dev/fd0:

bash-2.02$ dd if=/fd0.img of=/dev/fd0 bs=512
dd: /dev/fd0: No such file or directory

I tries mknod and I get:
bash-2.02$ mknod /dev/fd0 b 2 0
mknod: /dev/fd0: Function not implemented

PS: I'm using the latest realease of cygwin: b20

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: dd.exe
  2000-01-16 18:27 dd.exe Abdelmajid Bouazza
@ 2000-01-17  3:26 ` Corinna Vinschen
  2000-01-17  6:22   ` dd.exe Abdelmajid Bouazza
       [not found]   ` <38832614.85E9AC6@loria.fr>
  0 siblings, 2 replies; 11+ messages in thread
From: Corinna Vinschen @ 2000-01-17  3:26 UTC (permalink / raw)
  To: Abdelmajid Bouazza; +Cc: cygwin

Abdelmajid Bouazza wrote:
> 
> Hello,
> 
> I have a problem using the dd program to write from a file to the floppy
> disk
> I'm under NT4, and I use the command:
> dd if=fd0.img of=//./a:
> the response is:
> dd: //./a:: Permission denied
> 
> I tries it in the two cases:
> - /dev/fd0 mounted (mount -b -f //./A: /dev/fd0)
> - /dev/fd0 umounted

... and after mounting the floppy to /dev/fd0 you should _use_ it in
the related commands:

	dd if=foo of=/dev/fd0 bs=512

Regards,
Corinna

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* dd.exe
@ 2000-01-16 18:27 Abdelmajid Bouazza
  2000-01-17  3:26 ` dd.exe Corinna Vinschen
  0 siblings, 1 reply; 11+ messages in thread
From: Abdelmajid Bouazza @ 2000-01-16 18:27 UTC (permalink / raw)
  To: cygwin

Hello,

I have a problem using the dd program to write from a file to the floppy
disk
I'm under NT4, and I use the command:
dd if=fd0.img of=//./a: 
the response is:
dd: //./a:: Permission denied

I tries it in the two cases:
- /dev/fd0 mounted (mount -b -f //./A: /dev/fd0)
- /dev/fd0 umounted

Thanks,

PS: Reading from the floppy to a file works well,

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

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

* Re: dd.exe
  1999-01-31 23:52 dd.exe Bruno Yernaux
@ 1999-01-31 23:52 ` Corinna Vinschen
  0 siblings, 0 replies; 11+ messages in thread
From: Corinna Vinschen @ 1999-01-31 23:52 UTC (permalink / raw)
  To: Bruno Yernaux, gnu-win32

Bruno Yernaux wrote:
> 
> Hello,
> 
> I would like to know how to use dd.exe to read and write the MBR (Master
> Boot record) of
> a disk.  For instance,
>             dd if=//./C: of=/tmp/bootsect bs=512 count=1
> will save the boot sector of the C: partition in C:\tmp\bootsect but I
> can't do the same for
> the MBR.
> 
> Thanks in advance

NT only:

Every drive has it's own number, which is given by an
algorithm, I don't know. You can get this number from
NT's Disk-Manager Tool, given on the left side of the
window. Let's say, the drive, which contains partition
C: is drive 0. In this case the name of the drive is

	\\.\physicaldrive0.

If you use my version of cygwin1.dll, which you can find in

ftp://ftp.franken.de/pub/win32/develop/gnuwin32/cygwin32/porters/Vinschen_Corinna/B20

as
	cv_cygwin1.dll.README
	cv_cygwin1.dll.tar.gz

you are able, to mount raw partitions and drives, e.g.

	mount -b //./physicaldrive0 /dev/hda0
	dd if=/dev/hda0 of=/tmp/bootsect bs=512 count=1

Hope, this helps,
Corinna


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

* dd.exe
@ 1999-01-31 23:52 Bruno Yernaux
  1999-01-31 23:52 ` dd.exe Corinna Vinschen
  0 siblings, 1 reply; 11+ messages in thread
From: Bruno Yernaux @ 1999-01-31 23:52 UTC (permalink / raw)
  To: gnu-win32

Hello,

I would like to know how to use dd.exe to read and write the MBR (Master
Boot record) of
a disk.  For instance,
            dd if=//./C: of=/tmp/bootsect bs=512 count=1
will save the boot sector of the C: partition in C:\tmp\bootsect but I
can't do the same for
the MBR.

Thanks in advance

Bruno yernaux
Yernaux@ifsa.ucl.ac.be

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".

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

end of thread, other threads:[~2000-01-18  0:57 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-01-17  9:28 dd.exe Gary R. Van Sickle
  -- strict thread matches above, loose matches on Subject: below --
2000-01-17  6:53 dd.exe Earnie Boyd
2000-01-16 18:27 dd.exe Abdelmajid Bouazza
2000-01-17  3:26 ` dd.exe Corinna Vinschen
2000-01-17  6:22   ` dd.exe Abdelmajid Bouazza
     [not found]   ` <38832614.85E9AC6@loria.fr>
2000-01-17  7:35     ` dd.exe Corinna Vinschen
2000-01-17  8:10       ` dd.exe Abdelmajid Bouazza
2000-01-17 15:27         ` dd.exe Corinna Vinschen
2000-01-18  0:57           ` dd.exe Abdelmajid Bouazza
1999-01-31 23:52 dd.exe Bruno Yernaux
1999-01-31 23:52 ` dd.exe Corinna Vinschen

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).