Re: smbfs: lseek returns EINVAL when using large files.

From: Arjan van de Ven
Date: Mon Apr 11 2005 - 04:18:17 EST


On Mon, 2005-04-11 at 11:07 +0200, Mathieu Fluhr wrote:
> Hello
>
> It seems that the smbfs driver does not handle correctly large files
> (>2GB). The thing is that statting them is correct (for example, the
> st_size field is correctly set), but as soon as you try to make a lseek
> with an offset larget than INT_MAX, you get a EINVAL error.


have you tried the cifs client, which is new in 2.6 and is the more
actively maintained way to access windows shares and samba ?


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/