Problem copying files with holes to msdos file system

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
Date: Saturday, October 24, 1992 - 2:48 am

I've mounted my DOS partition using "mount -t msdos /dev/sda1 /dos",
and most things work fine. But I have had trouble copying some large
from the Minix file system to the DOS file system. When I try to
copy my boot image file across, using "/bin/cp /linux-0.97.1 /dos/linux-97.1",
it goes into an infinite loop. I can't kill the process even with kill -9.
The hard disk is being continually accessed, and performance on the
other virtual consoles is terribly slow. "ls -l /dos/linux-97.1" shows
the file size to be only 3072 bytes.

I think that the problem is probably to do with /bin/cp trying to avoid
copying holes. The work-around is to use cat instead of cp:
"cat < /linux-0.97.1 > /dos/linux-97.1".

Another problem of unknown cause: I tried moving a few large files from
the dos file system to the minix file system using /bin/mv, and the
system spontaneously rebooted in the middle of executing the command.
I don't seem to be having much luck at the moment :-(

-- 
Fergus Henderson             fjh@munta.cs.mu.OZ.AU      
This .signature virus is a self-referential statement that is true - but 
you will only be able to consistently believe it if you copy it to your own
.signature file!
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Problem copying files with holes to msdos file system, Fergus James HENDERSON, (Sat Oct 24, 2:48 am)