[comp.unix.microport] doscp cannot copy 4,244,522-byte file

digrazia@asd.dec.com (ZKO3-2/S14) (12/16/88)

 
	I cannot copy a file from a DOS partition to UNIX with doscp.
 
	I issue the commands
 
	    link /dev/rdsk/0s8 /dev/dos/C	;my DOS is in partition 3
	    doscp -bm C:/gnu/gnuemacs.tar /gnu
 
	The hard disk is active for about 10 seconds, then nothing 
	happens. After about 5 minutes, I reboot the machine and find 
	an output file whose size is 645,120 bytes.
 
	The source file contains 4,244,522 bytes.  (I've successfully
	copied a file of about 150,000 bytes.)
 
	I'm using System V/AT (PS/2 mod 60, i.e. 80286).
	The hard disk contains 2 partitions: DOS & UNIX.  The UNIX
	partition contains only SYSTEM V/AT, newly installed.
 
	Any thoughts on how to copy this file to the UNIX partition?
 
	Network address:	decvax!decwrl!asd!digrazia
                                            or
			    asd.dec.com!digrazia@decwrl.dec.com
 
	Regards.

ken@uport.UUCP (Ken Chapin) (12/17/88)

In article <8812160051.AA11151@decwrl.dec.com> digrazia@asd.dec.com (ZKO3-2/S14) writes:
 > 
 >	I cannot copy a file from a DOS partition to UNIX with doscp.
 >	I issue the commands
 >	    link /dev/rdsk/0s8 /dev/dos/C	;my DOS is in partition 3
 >	    doscp -bm C:/gnu/gnuemacs.tar /gnu
 > 
 >	I'm using System V/AT (PS/2 mod 60, i.e. 80286).
 >	The hard disk contains 2 partitions: DOS & UNIX.  The UNIX
 >	partition contains only SYSTEM V/AT, newly installed.
 > 

The latest version has a "-16" flag to recognize a 16 bit FAT table. Try that.

Ken Chapin         UUCP: ...!{sun | ucbvax | ihnp4}!amdcad!uport!ken
Microport Systems
Technical Support         

rsj@wa4mei.UUCP (Randy Jarrett WA4MEI) (12/17/88)

In article <8812160051.AA11151@decwrl.dec.com> digrazia@asd.dec.com (ZKO3-2/S14) writes:
>
> 
>	I cannot copy a file from a DOS partition to UNIX with doscp.
> 
>	The source file contains 4,244,522 bytes.  (I've successfully
>	copied a file of about 150,000 bytes.)


Dumb question #1.1, Have you set your ulimit.  The system comes 
with it set to 2400 blocks.  You can temporarly set it as root
or can use 'patch /system5 ulpatch xxxxx' to set it permently.
Remember that you will have to re-boot for this to take effect.

I havn't tried to copy a file the size that you are trying but 
have done several at half that size.


-- 
Randy Jarrett  WA4MEI 
UUCP  ...!gatech!wa4mei!rsj        | US SNAIL: P.O. Box 941217
PHONE +1 404 493 9017		   |           Atlanta, GA 30341-0217

digrazia@asd.dec.com (ZKO3-2/S14) (12/30/88)

I originally wrote:
 
	I cannot copy a file from a DOS partition to UNIX with doscp.
	I issue the commands
	    link /dev/rdsk/0s8 /dev/dos/C	;my DOS is in partition 3
	    doscp -bm C:/gnu/gnuemacs.tar /gnu

The file gnuemacs.tar is about 4.2 Mb long.

It turns out the link command is unnecessary.

Two people replied, suggesting increasing ulpatch, and using the "-16" 
switch on the doscp command.

To increase ulpatch, I issued, "patch /system5 ulpatch 8400", and rebooted.

I then issued, "doscp -bm C:/gnu/gnuemacs.tar /gnu".  This produced an 
output file of 486,400 bytes.

Issuing "doscp -bm -16 C:/gnu/gnuemacs.tar /gnu" produced an output file 
of 0 bytes, as reported by "ls -l".

In each case, the program stops; that is, after several seconds, the disk 
shows no activity.  Then I use the del key to get the # prompt back.  
(Earlier, I said the machine hung; I think I was mistaken.) 

When ulpatch was 2880, doscp copied 645,120 bytes; when I increased 
ulpatch to 8400, doscp copied only 486,400 bytes.

Regards, Robert.  (Apologies if this is a re-post: I can't tell whether 
                   my earlier attempt reached the newsgroup.)