Subject: "Argument list too long" reading from MSDOS (Camera) FS?
To: None <port-i386@netbsd.org>
From: Alec Muffett <alecm@crypticide.com>
List: port-i386
Date: 06/07/2005 00:29:30
Hi All,

I have a Canon IXUS 700 with an 1Gb Sandisk SD-Card.  I inserted the 
card into a PCMCIA adapter, and put *that* into a Toshiba Libretto 
110ct running NetBSD 2.0.

After a little experimenting, I found that I could mount and read the 
filesystem structure properly, by mounting the card as "msdos" with the 
"-l" (force long filenames) feature, otherwise the cards seemed a 
terrible mess.

Having done this I now find that I can see that the files are there, 
but any attempt to copy them off / read them yields the very peculiar 
error "Argument list too long".

This gets thrown out by rsync, cp, md5 ... basically anything that 
tries to read the images, which are 1 to 5Mb in size, nothing enormous; 
certain of the files are copied-but-corrupted, others (when copied to 
local disk) end up as zero-sized files, although the source file is a 
couple of megs in size.

Has anyone else encountered this behaviour?  Is there a quick fix / 
option I should prod?

Thanks!

	- alec
--
Alec Muffett
alecm@crypticide.com
http://www.crypticide.com/dropsafe/