dfree command does not use actual directory
Uri Simchoni
uri at samba.org
Wed Dec 30 19:45:35 UTC 2015
In general the server is actually doing what you want - I just tested it
with a Windows client, typing "dir" at the share's root and at subdirs -
the dfree script gets the path relative to the share's root.
Not exactly sure how the wide links which you say you have in place
affect this.
I'd verify, using a packet trace, that the client is actually asking
for file system info on the subdir (as happens when doing "dir") and not
on the share's root. What client are you using?
Thanks,
Uri.
On 12/30/2015 12:28 PM, Hans Tediger wrote:
>> I have 8 disks. Instead of having a share for each of them, I use a share to my home directory, where I have a symbolic link to a directory with links to the disks.
>> This works since many years.
>>
>> Since my home FS is almost full, I cannot copy large amounts to my disks, as the disk full shows disk full for the share (home) FS.
>>
>> I setup "dfree command", but noticed before the script gets called a cd to the root of the share is done and "$1" is the share path.
>>
>> Using PPID (available in the script) and smbstatus is not an option, when having more filepointers open
>>
>> 8586 1000 DENY_NONE 0x100081 RDONLY NONE
>> /home/hans links/disks/disk6/recordings Thu Dec 10 22:13:56 2015
>>
>> 8586 1000 DENY_NONE 0x100081 RDONLY NONE
>> /home/hans dev/samba/source3/modules/smbd Thu Dec 10 22:59:02 2015
>>
>> 8586 1000 DENY_NONE 0x100081 RDONLY NONE
>> /home/hans . Thu Dec 10 22:17:50 2015
>>
>> Is there another option to have the df from the actual directory?
>>
>> I would like to change the source to use the actual directory. Any pointers what/where to change would be helpful.
> I hope some devs are around.
> Is it possible with the current code, to get the actual directory propagated to the script? Is this directory somewhere available?
>
> Thanks in Advance
> Hans
>
>
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/options/samba
>
>
More information about the samba-technical
mailing list