[NTLUG:Discuss] problem w/ copying to a floppy drive
Bug Hunter
bughuntr at one.ctelcom.net
Tue May 28 20:38:38 CDT 2002
If you have mtools installed, try putting a floppy in that was formatted
on a dos machine:
mcopy filename a:
remove floppy
on other machine
mcopy a:filename .
DO NOT MOUNT the floppy
otherwise, do this:
mount -t vfat /dev/fd0 /mnt/floppy
cp filename /mnt/floppy
sync
umount /mnt/floppy
on new machine
mount -t vfat /dev/fd0 /mnt/floppy
cp /mnt/floppy/filename .
umount /mnt/floppy
see if this works better. I've found that "auto" does not always
automatically work.
On Tue, 28 May 2002, Geremy L. Hamlett wrote:
>
> For anyone who wants to help.
>
> This is probably a dumb question, but i cant seem to find an answer.
> when i copy (cp) a file to a floppy disk (1.44 M) and then umount it, and
> then later go back and remount it onto another computer the file that I
> copied is turned into garbage (unreadable junk). The files I am
> transfering are simple .c files.
>
> Here is my sequence in doing this.
>
> $: mount /mnt/floppy/
> $: cp somefile /mnt/floppy/
> $: umount /mnt/floppy
>
> After this i a can view the file in the /mnt/floppy/ directory wiht vi,
> cat, anything and it is ok. When I umount it and remount it on the same
> computer, or a diffrent one, the file is garbage.
>
>
> This is what my fstab floppy line looks like.
>
> /dev/fd0 /mnt/floppy auto noauto,owner,kudzu 0 0
>
>
> I am running RedHat 7.2 w/ 2.4.9-31
> I only noticed this after I had another computer to transfer files
> between.
>
>
> Please help.
More information about the Discuss
mailing list