On Thu, Aug 23, 2012 at 21:17, Jan Stary wrote: > On current/amd64 I created a MSDOS filesystem on a CF card > inserted into a USB card reader
> # cp * /mnt > cp: /mnt/202.the-hounds-of-baskerville.avi: Argument list too long > cp: /mnt/201.a-scandal-in-belgravia.avi: Argument list too long > cp: /mnt/102.the-blind-banker.avi: Argument list too long > However, it is not the case that the argument list is too long: > Somehow, the wrong error condition is reported: > E2BIG instead of a failed write(2). > but both of them set errno, and not to E2BIG. > So why does the warn() report E2BIG? Because that is what the msdosfs code in the kernel says. You are trying to put too much stuff in the root directory of the filesystem. I suspect if you create a subdirectory, you'll have more success, assuming the filesystem is large enough.
