Disk formatting is the process of writing a file system structure, such as NTFS, exFAT, FAT32, ext4 or APFS, onto a drive or partition so the operating system can store and find files. A quick format rebuilds the file table, while a full format also checks for bad sectors.
Why it matters
A new drive is unusable until formatted, and the file system you choose decides compatibility. FAT32 works almost everywhere but cannot hold a single file over 4 GB. exFAT suits USB drives shared between Windows and macOS. NTFS is the Windows default, and ext4 is common on Linux. Formatting is also used to wipe a drive before reuse.
Example
Formatting a USB stick on Linux:
sudo mkfs.exfat -n SHARED /dev/sdb1
Choosing the wrong device name here would erase the wrong disk, so always double-check with lsblk first.
Common mistakes
- Assuming a quick format securely erases data. Files can often be recovered until overwritten; secure erasure needs different tools.
- Formatting the wrong drive because of unclear labels.
- Using FAT32 for large video files and hitting the 4 GB limit.
Related
Get notified when this term updates
Plus occasional practical tips on uptime and monitoring, nothing else. Unsubscribe anytime.
यह पेज सामान्य जानकारी है, जिसे हमारी संपादकीय टीम ने लिखा है और दस्तावेज़ीकरण बदलने पर अपडेट किया जाता है। सर्वर और प्रदाता अलग-अलग होते हैं, इसलिए बदलाव पहले सुरक्षित तरीके से जाँचें। देखें: संपादकीय नीति और अस्वीकरण.