[Samba] Win2k/XP problem displaying free space fixed in 2.2.5?

Thomas Bork tombork at web.de
Sun Sep 29 12:20:01 GMT 2002


Hallo Zoltan Bogdan,

you wrote:

> can I assume that the problem with win2K/XP displaying wrong free
> space of a samba share is fixed in Samba 2.2.5. ?

try

dfree command = /usr/local/samba/bin/dfree

where /usr/local/samba/bin/dfree looks like this:

#!/bin/sh
set -f
set -- `/bin/df $1 | sed -n '$p'`
echo "$2 $4"

or

#!/bin/sh
df $1 | tail -1 | awk '{print $2" "$4}'

tom



More information about the samba mailing list