search for: smb_vfs_ftruncate

Displaying 1 result from an estimated 1 matches for "smb_vfs_ftruncate".

2008 Jun 11
2
vfs_set_filelen function problem on FAT file systems.
Hi All, I am facing problem when copying large files from Windows PC to FAT Partition. I observed that the vfs_set_filelen() (SMB_VFS_FTRUNCATE) call is actually creating the Zero file on the FAT Partition which is taking lot of time and the connection is getting closed. What is the merit of setting the file size before starting the copy. Anyway this will create a sparse file on unix file system.(Which will not even allocate data blocks...