Re: PATCH: smbfs and >2Gb files

Urban Widmark (
Wed, 5 Jun 2002 02:13:10 +0200 (CEST)

On Mon, 3 Jun 2002, Philippe De Muyter wrote:

> --- include/linux/smb.hbk Fri May 31 16:43:54 2002
> +++ include/linux/smb.h Fri May 31 17:55:49 2002
> @@ -85,7 +85,7 @@
> uid_t f_uid;
> gid_t f_gid;
> kdev_t f_rdev;
> - off_t f_size;
> + size_t f_size;
> time_t f_atime;
> time_t f_mtime;
> time_t f_ctime;
> Is it possible to incorporate that in the official linux kernel tree ?

Doesn't this just allow smbfs to list the file? If you tried to read all
of it you'd only get the first 2G of it (or is it 4 ...), repeated over
and over.

2.5 has proper support for large files on smbfs, for 2.4 there is a patch
(if you can reach that site, the admins have been very "creative" lately ...)

If anything is going into 2.4 I'd prefer if that was it. Maybe for 2.4.20,
I have had some positive reports on that. Note that you need to patch
samba or else the server won't know that the client supports large files.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at