Erase and format
smartdisk format disk6 -fs exfat -name Untitledformat erases an external disk into one volume, like Disk Utility’s Erase. File systems:
-fs |
File system |
|---|---|
exfat |
exFAT |
apfs |
APFS (Mac only) |
hfs |
Mac OS Extended (Journaled) (Mac only) |
fat32 |
MS-DOS (FAT32) |
On Linux it creates one MBR partition with exFAT (mkfs.exfat, package exfatprogs) or FAT32
(mkfs.vfat, package dosfstools).
Protection
Section titled “Protection”Every command that erases a whole disk (format, wipe,
capacity):
- refuses internal disks and the disk of the running system,
- needs the disk ID as confirmation,
- lists the volumes that will be lost.
A disk that starts a Mac or holds Time Machine backups also needs -important, and in a terminal
SmartDisk asks for a volume’s name a second time.
In SmartDisk for Mac: Read test → Erase….