Você provavelmente precisará instalar e4fsprogs
do pacote CentOS antes de criar um sistema de arquivos ext4.
Em geral, mkfs
é apenas um front-end para uma série de mkfs.*
binários.
Veja o exemplo a seguir:
root@locutus:/home/asd# strace -f -e trace=execve mkfs -t asdasd /dev/whatever
execve("/sbin/mkfs", ["mkfs", "-t", "asdasd", "/dev/whatever"], [/* 18 vars */]) = 0
execve("/sbin/mkfs.asdasd", ["mkfs.asdasd", "/dev/whatever"], [/* 18 vars */]) = -1 ENOENT (No such file or directory)
execve("/sbin/fs.d/mkfs.asdasd", ["mkfs.asdasd", "/dev/whatever"], [/* 18 vars */]) = -1 ENOENT (No such file or directory)
execve("/sbin/fs/mkfs.asdasd", ["mkfs.asdasd", "/dev/whatever"], [/* 18 vars */]) = -1 ENOENT (No such file or directory)
execve("/usr/local/sbin/mkfs.asdasd", ["mkfs.asdasd", "/dev/whatever"], [/* 18 vars */]) = -1 ENOENT (No such file or directory)
execve("/usr/local/bin/mkfs.asdasd", ["mkfs.asdasd", "/dev/whatever"], [/* 18 vars */]) = -1 ENOENT (No such file or directory)
execve("/usr/sbin/mkfs.asdasd", ["mkfs.asdasd", "/dev/whatever"], [/* 18 vars */]) = -1 ENOENT (No such file or directory)
execve("/usr/bin/mkfs.asdasd", ["mkfs.asdasd", "/dev/whatever"], [/* 18 vars */]) = -1 ENOENT (No such file or directory)
execve("/sbin/mkfs.asdasd", ["mkfs.asdasd", "/dev/whatever"], [/* 18 vars */]) = -1 ENOENT (No such file or directory)
execve("/bin\n/mkfs.asdasd", ["mkfs.asdasd", "/dev/whatever"], [/* 18 vars */]) = -1 ENOENT (No such file or directory)
mkfs.asdasd: No such file or directory
root@locutus:/home/asd#