[Fwd: Samba servers and Mac Finder - minimum file size 1Mb]
Christopher R. Hertel
crh at ubiqx.mn.org
Mon Jul 19 22:02:55 MDT 2010
Thanks, James. Interesting stuff.
James Peach wrote:
> On 19 July 2010 18:45, Christopher R. Hertel <crh at ubiqx.mn.org> wrote:
>> Quick question (for the Apple folk, primarily): If the message copied below
>> is correct, the Macintosh Finder reports the allocated rather than the
>> actual size of files on an SMB share. Is that intentional?
>
> Yes.
>
>> Just curious.
>
> Supposedly it's because when floppy disks were 800k and block sizes
> were 4k it was hard to see where all your disk space went. If you do a
> cmd-i on the file the info windo will show you both the allocated size
> and the data size.
>
>> The message is from one of the administrator mailing lists at the University
>> at which I used to work.
>>
>> Chris -)-----
>>
>> -------- Original Message --------
>> Subject: Samba servers and Mac Finder - minimum file size 1Mb
>> Date: Mon, 19 Jul 2010 16:49:26 -0500
>>
>> One of my users noticed that the Mac OS X finder was reporting a minimum
>> file size of 1Mb for files on Samba share.
>>
>> After some searching, I found that the Samba server has an "allocation
>> roundup size" parameter that controls the file allocation reported to
>> clients.
>>
>> The default 1Mb block size was chosen by Samba to improve performance of
>> Windows clients. Setting this value to zero in the smb.conf makes file
>> sizes be reported much more accurately!
>>
>>
>> --
>> "Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
>> Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
>> jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
>> ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
>> OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
>>
>
>
>
--
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/ -)----- Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/ -)----- ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/ -)----- crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/ -)----- crh at ubiqx.org
More information about the samba-technical
mailing list