[Samba] Win2k/XP problem displaying free space fixed in 2.2.5?
Zoltan Bogdan
zoltan.bogdan at t-online.de
Sun Sep 29 22:29:02 GMT 2002
Am Son, 2002-09-29 um 14.20 schrieb Thomas Bork:
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}'
great!!
We tried the second one and it works!
Do you know what the backdraw of this procedure is - does it waste very many recources?
z.
Zoltan Bogdan
Zoltan Bogdan - Linux SystemIntegration
Kreutzerstr. 71 D-90439 Nürnberg
Tel. +49 (0)911 929 191 25
Fax +49 (0)911 929 191 26
Mobil +49 (0)175 521 705 4
Zoltan.Bogdan at t-online.de
-------------- next part --------------
HTML attachment scrubbed and removed
More information about the samba
mailing list