Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

cygwin permission errors writing to floppy using dd

Status
Not open for further replies.

TimeTraveler

IS-IT--Management
Nov 20, 2001
99
US
Trying to find a 720k floppy drive image managment workaround in XP. Thought CygWin might be the solution, but it seems CygWin's mount table isn't readily accessed, and doesn't work the same as in Linux.

I want to do this in cygwin:

'dd if=./MVSYS109 of=/dev/df0'

where MVSYS109 is a 720k proprietary (similar to msdos, if not equal to) diskette image.

Tried this:

'dd if=./MVSYS109 of=/cygdrive/a'

and a host of variants.

Still getting permission issues. I can write to the disk normally. (E.g., 'echo "blah" > /cygdrive/a/blah.txt' works fine.)

I know there's something simple I'm missing. My search at the CygWin site didn't yield anything, and the forums for CygWin were barely navigatable, imo.

Thanks in advance.

Sean (aka TimeTraveler aka Lumber)

 
I tried both ways. (df0 is an AmigaDOS designation, so its still under my fingers.)

Even with using /cygdrive/a, I still get permission errors. What I need is the exact mount command under CygWin (not Linux) that'll let me write a diskette image to the floppy drive.

Sean (aka TimeTraveler aka Lumber)

Sean and the Time Travelers MP3s Available!
Visit
 
rawwrite, rawwrite2, and rawwrite3 do not work in XP, regardless of compatibility mode.

The solution that does work in XP is (undisclosed), but there's a licensing issue with (undisclosed) that I'm trying to work around. Earlier versions of (undisclosed) were freeware, but later versions are not, and the licensing by the new company got locked down to further due to some security nonsense.

Really, it's all tangential to finding the correct usages of the 'mount' and 'dd' commands in CygWin, and why I can write stdout to a diskette, but not a diskette image file.

Is there a good reference book on CygWin?

Sean (aka TimeTraveler aka Lumber)



Sean and the Time Travelers MP3s Available!
Visit
 
I just used dd and I had the same problem. So I used rawrite as posted before and worked great!
 
I'll try rawrite again to see if it works. rawrite only writes image files to disk, not collects them, right?

Thanks for all your help.

Sean
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top