Newsgroups: comp.os.minix
Subject: Re: How to transfer data between DOS and MINIX?
References: <41c0b1c3.0110130759.7f19f6bd@posting.google.com>
Organization: Syracuse University, Syracuse
From: mcconnel@rodan.syr.edu (Terry R. McConnell)
NNTP-Posting-Host: rodan.syr.edu
Message-ID: <3bc875b4.0@news.syr.edu>
Date: 13 Oct 2001 13:11:16 -0500
X-Trace: 13 Oct 2001 13:11:16 -0500, rodan.syr.edu
Lines: 29
Path: bunyip.cc.uq.edu.au!news1.optus.net.au!optus!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!news.syr.edu!rodan.syr.edu!mcconnel
Xref: bunyip.cc.uq.edu.au comp.os.minix:37734
X-Cache: nntpcache 1.0.7.1 (see ftp://suburbia.net/pub/nntpcache)

In article <41c0b1c3.0110130759.7f19f6bd@posting.google.com>,
corn <cnkangj@yahoo.com> wrote:
>Here is what I did:
>
>        format /dev/fd0 1440 
>        mkfs /dev/fd0 
>        mount /dev/fd0 /fd0 
>
>        doswrite fd0 test.c < prog.c
>
>However, the doswrite command came up with error message:
>  [ etc ]

You shouldn't have created a minix filesystem on the floppy. If you had done

cat prog.c > /fd0/test.c

instead of doswrite you would have written prog.c to the floppy, but it 
would then be readable by minix, not dos. That's probably not what you 
wanted.

Next time, just put a dos formatted floppy in the drive and give the
doswrite command. Don't format, mkfs, or mount.

-- 
************************************************************************
Terry R. McConnell   Mathematics/304B Carnegie/Syracuse, N.Y. 13244-1150
trmcconn@syr.edu     http://barnyard.syr.edu/~tmc    Question Authority?
************************************************************************
