In case there's any distinction between OS and shell necessary, I want to run the command on Ubuntu 14.04 with Linux 3.13 in GNU bash 4.3.11. mount.cifs
's version is 6.0 using smb2 protocol.
After mounting a share with sudo mount -t cifs -o user=auser,uid=4322,gid=4322,rw //1.2.3.4/a_shared /mnt/a_share
I'd like to be able to monitor the free space on the share e.g. with du
. The actual space on the device providing the share shouldn't matter, quotas should be respected. The result should reveal the same as the properties dialog in nautilus
.
df
doesn't include cifs mounts. I didn't have any further ideas.