[Samba] Disk size on share with multiple partitions

Jochen Eggemann Jochen.Eggemann at nw-fva.de
Wed Nov 16 14:28:25 UTC 2016


Am 16.11.2016 um 15:12 schrieb Jochen Eggemann via samba:
> Am 16.11.2016 um 15:11 schrieb Volker Lendecke:
>> 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
> Yes, I did.
>
> Jochen
>
Solved, my bad, I forgot to put the path /usr/bin in front of the awk 
command.
Now the script is executed without errors.

Thanks for all the effort,
Jochen



More information about the samba mailing list