The Cookie Machine - Click here to drag window

DUMMY TEXT - Real text set in assets/js/theCookieMachine.js

Views: 4,890     Votes:  4     ✅ Solution
Tags: format   sd-card   fat32  
Link: 🔍 See Original Answer on Ask Ubuntu 🔗

URL: https://askubuntu.com/q/1231102
Title: How to consult FAT32 cluster size on Ubuntu
ID: /2020/04/25/How-to-consult-FAT32-cluster-size-on-Ubuntu
Created: April 25, 2020    Edited:  April 25, 2020
Upload: November 24, 2022    Layout:  post
TOC: false    Navigation:  false    Copy to clipboard:  false


Simply use the ll command and the size of directories will be your block size (cluster size in Windows speak):

$ ll /
total 40972
drwxr-xr-x  25 root root     4096 Apr  8 16:30 ./
drwxr-xr-x  25 root root     4096 Apr  8 16:30 ../
drwxr-xr-x   2 root root     4096 Mar 31 16:44 bin/
drwxr-xr-x   4 root root     4096 Apr  8 16:32 boot/
drwxrwxr-x   2 root root     4096 Aug  2  2018 cdrom/

My block size is 4,096 (4K) which is normal for an ext4 Linux file system. In your case it will be 64K and even a file of 1 byte will take 64K bytes on disk.

⇧ Ubuntu 20.04 boot freezes after shutting down the PC, but not after restarting from Windows 10 Terminal size at startup?  ⇩