[Samba] full size shown before file transfer (via samba)
completes?
Andrew Bartlett
abartlet at samba.org
Mon Nov 10 22:24:02 GMT 2003
On Tue, 2003-11-11 at 06:49, _HoF_ Blaza wrote:
> I noticed this when transferring a 200mb file from my win box to my linux
> box (that has it's hd shared with samba). I typed ls -l in a term window to
> see the progress, but it was showing full size even though according to
> windows the transfer was only around 10-20%, and so on.
>
> Why does samba do this? If I transfer with ftp, or ssh transfer, I see the
> file size growing in shell.
If you do a 'du' you should see the disk-space used. I think windows
writes to the end of the file, to 'grow' it. Samba doesn't actually
cause unix to pre-allocate that space, which is why there is a
difference between the two sizes.
Andrew Bartlett
--
Andrew Bartlett abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team abartlet at samba.org
Student Network Administrator, Hawker College abartlet at hawkerc.net
http://samba.org http://build.samba.org http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20031111/4c349c6a/attachment.bin
More information about the samba
mailing list