Subject: MSDOS files to unix cp (file size of second file takes on first files size)
To: None <netbsd-bugs@sun-lamp.cs.berkeley.edu>
From: Tom Wye <tjw00@eng.amdahl.com>
List: netbsd-bugs
Date: 11/23/1993 22:29:16
Bug occured on NETBSD-0.9

Incorrect file size on a cp of multiple files from a mounted MS partition
to a unix directory.

See info below..

mount -t msdos /dev/fd0a /mnt
cd /usr/local/src/perl
cp /mnt/*.* .

The files size of the second file copyed take on the size of the first file

---------- ls -la /mnt
total 593
-rwxrwxrwx    1 root     wheel      590599 Nov 10 09:07 perl436t.gz
-rwxrwxrwx    1 root     wheel       11781 Nov 10 09:08 sqlperls.har

---------- ls -la /usr/local/src/perl/
total 1184
-rwxrwxr-x    1 root     wheel      590599 Nov 13 09:33 perl436t.gz
-rwxrwxr-x    1 root     wheel      590599 Nov 13 09:33 sqlperls.har

Note the file size of sqlperls.har is incorrect should be 11781 not
590599!

Tom Wye tjw00@eng.amdahl.com

------------------------------------------------------------------------------