# HG changeset patch # User Oleksandr Gavenko # Date 1479545344 -7200 # Node ID 005dc5fcaa0f25667e15a06688784697749bf377 # Parent b517b191156bf2a16c712de4fad7cb97c921a03a FS stats. FS limits. diff -r b517b191156b -r 005dc5fcaa0f fs.rst --- a/fs.rst Fri Nov 11 00:48:27 2016 +0200 +++ b/fs.rst Sat Nov 19 10:49:04 2016 +0200 @@ -13,6 +13,45 @@ $ cat /proc/filesystems +FS stats +======== + +Free space:: + + $ df + +Free space in MB:: + + $ df -m + +Free space in human readable format:: + + $ df -h + +Number of free nodes:: + + $ df -i + +FS limits +========= + +``ext4`` uses 32-bit inode numbers so number of files limited to 2^32. + +===== ==== ====== ======= ======= ======== + fs name inode sub-dir file fs total +===== ==== ====== ======= ======= ======== + ext2 255 2 TiB 16 TiB + ext3 255 32000 2 TiB 16 TiB + ext4 255 2^32 64000 16 TiB 16 TiB +fat32 255 268e+6 2^16 2 GiB 8 TiB + ntfs 255 2^32 16 TiB 256 TiB + xfs 255 100 TiB 100 TiB + gfs2 255 100 TiB 100 TiB +===== ==== ====== ======= ======= ======== + +https://en.wikipedia.org/wiki/Comparison_of_file_systems#Limits + FS limits. + Make label on FAT32 volume. ===========================