man df 其中有:This manual page documents the GNU version of df. df displays the amount of disk space available on the file system containing each file name argument. If no file name is given, the space available on all currently mounted file systems is shown. Disk space is shown in 1K blocks by default, unless the environment variable POSIXLY_CORRECT is set, in which case 512-byte blocks are used.也就是說,在使用df 命令時預設給出以1024位元組 block size 為單位的disk space(通常是分割槽);也就是說,如果分割槽為1MB(1024*1024)則給出的是1024個block;可以使用df --block-size=1MB和df --block-size=1KB 看到區別;
man df 其中有:This manual page documents the GNU version of df. df displays the amount of disk space available on the file system containing each file name argument. If no file name is given, the space available on all currently mounted file systems is shown. Disk space is shown in 1K blocks by default, unless the environment variable POSIXLY_CORRECT is set, in which case 512-byte blocks are used.也就是說,在使用df 命令時預設給出以1024位元組 block size 為單位的disk space(通常是分割槽);也就是說,如果分割槽為1MB(1024*1024)則給出的是1024個block;可以使用df --block-size=1MB和df --block-size=1KB 看到區別;