Comment 9 for bug 38886

Revision history for this message
Gilles (ubuntugc1) wrote : Re: File size limit exceeded - smbfs (unable upload larger file than 2GB)

The "samba/cifs" protocol has a part that is dedicated to negociate if large files are supported or not. The only thing is that the samba mount command will report itself has "not supporting large files" unless the "lfs" flag is used.

I must admit at some point I have been thinking of reversing the logic in the code and have large file support "on" by default (at least on the client side, the resolution will still occur, so if the server does not support it then there are no problems).

However, the best solution would be to check if there is a flag somewhere in the kernel indicating that large file support is currently activated. I will try to have a look. But, still, does anyone knows if this would cause problems? (I must admit I am still wondering why this "lfs" flag was used. There could be some reasons that we are unaware of...)