How To Install Mkfs.fat?
Install mkfs.fat
-
Debian
apt-get install dosfstoolsClick to copy -
Ubuntu
apt-get install dosfstoolsClick to copy -
Alpine OS
apk add dosfstoolsClick to copy -
Arch Linux
pacman -S dosfstoolsClick to copy -
Kali Linux
apt-get install dosfstoolsClick to copy -
CentOS
yum install dosfstoolsClick to copy -
Fedora
dnf install dosfstoolsClick to copy -
Raspbian
apt-get install dosfstoolsClick to copy -
macOS
brew install dosfstoolsClick to copy
Creates an MS-DOS filesystem inside a partition.
How to use mkfs.fat?
Below are few example commands for mkfs.fat that you can use in the terminal.
Create a fat filesystem inside partition 1 on device b (`sdb1`):mkfs.fat /dev/sdb1Click to copyCreate filesystem with a volume-name:mkfs.fat -n volume_name /dev/sdb1Click to copyCreate filesystem with a volume-id:mkfs.fat -i volume_id /dev/sdb1Click to copyUse 5 instead of 2 file allocation tables:mkfs.fat -f 5 /dev/sdb1Click to copy
Install the latest version of mkfs.fat in Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS from terminal. To install the mkfs.fat just copy the above command for your OS and run into terminal. After you run the command it will grab the latest version of mkfs.fat from the respository and install it in your computer/server.




