Hi there,
Quote:
Originally Posted by rperlberg
How can I use smbclient to determine the amount of free space on a share?
|
really, that's not exactly advanced mathematics, is it?
Quote:
Originally Posted by rperlberg
When I do a "dir" in smbclient, it displays something like:
52492 blocks of size 8388608. 2407 blocks available
How do I translate that into bytes?
|
By multiplying. It says that one block is 8388608 bytes (which is 8MB), and there are 52492 of them altogether (slightly more than 400GB), and 2407 free (short of 20GB).
[X] Doc CPU