[NTLUG:Discuss] problem w/ copying to a floppy drive

Fred James fredjame at concentric.net
Wed May 29 05:03:20 CDT 2002


Which might explain why I've never had the problem - I've just always 
used msdos fs.  I have used ext2, but only between "the same machine", 
or two machines of identical OS and version.  Were you trying ext2 fs 
between two machines of different OS and/or version?  I am curious.


Geremy L. Hamlett wrote:

> Update:
> 
> using the vFat FS works just fine. The only problem exsist when I use the 
> ext2 FS.
> 
> 
> 
> 
> 
> 
> On Tue, 28 May 2002, Fred James wrote:
> 
> 
>>Which brings up the questions (at least in my mind):  How was the floppy 
>>formatted, and what file system was installed on it?  Secondly (assuming 
>>the answer to part two of my first question is something other than 
>>ext2), if the file system on the floppy was ext2 would one experience 
>>the same problem?
>>
>>
>>
>>Bug Hunter wrote:
>>
>>
>>>  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.
>>>>
>>>>
>>>
>>>_______________________________________________
>>>http://www.ntlug.org/mailman/listinfo/discuss
>>>
>>>
>>>
>>>
>>
>>
> 


-- 
"Wisdom begins in wonder." - Socrates





More information about the Discuss mailing list