[Samba] subdirectories have incorrect sizes
Jeremy Allison
jra at samba.org
Thu Jan 5 18:05:37 MST 2012
On Thu, Jan 05, 2012 at 05:03:09PM -0800, John de la Garza wrote:
> On Wed, Jan 4, 2012 at 8:13 PM, Jeremy Allison <jra at samba.org> wrote:
> > On Wed, Jan 04, 2012 at 05:48:53PM -0800, John de la Garza wrote:
>
> >> I just found out that the code that kind of works was patched and not
> >> the regular samba code. Thanks for replying.
> >
> > Can you send us the patch please ! That way we'll get it fixed
> > for other users.
>
>
> I'm cleaning up the patch so it doesn't rely on hardcoded share and dir names.
>
> I plan to add some code to do this:
>
> If the share path is not on the same device as say the rootfs
> then check all the dirs under the local dir (in my system they are
> all mount points) and return back the size of the largest one...
>
> if the devices have different sizes it may show one folder with more
> available space
> than it really has. probably not idea
>
> I'll get back to you when I'm done.
Thanks, much appreciated.
More information about the samba
mailing list