On Sat, 5 Jun 2010 19:02:46 +0200 Stef Bon <stefbon at gmail.com> wrote: > Hello, > > I found out that a stat call: > > stat -f %directory% > > gives zero for a cifs mounts. > > Why is that? > Because the statfs call for CIFS doesn't fill it out. The rabbit hole begins at cifs_statfs(). -- Jeff Layton <jlayton at samba.org>