[Samba] Disk size on share with multiple partitions

Volker Lendecke vl at samba.org
Wed Nov 16 14:11:32 UTC 2016


On Wed, Nov 16, 2016 at 03:02:20PM +0100, Jochen Eggemann via samba wrote:
> Thanks for the fast reply Volker,
> 
> I tried using this, but get following Errors:
> 
> ../source3/lib/system.c:1143(sys_popen) sys_popen: ERROR executing command
> '/usr/bin/dfree .': Fehler im Format der Programmdatei (Error in format of
> program file)
> ../source3/smbd/dfree.c:117(sys_disk_free) disk_free: file_lines_load()
> failed for command '/usr/bin/dfree .'. Error was : Keine Kind-Prozesse (no
> child processes)

Did you put

#!/bin/bash

into the first line of the file?

Volker



More information about the samba mailing list