dfree command does not use actual directory

Hans Tediger h.Tediger at gmx-topmail.de
Wed Dec 30 10:28:30 UTC 2015


>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