command: mkfs
purpose: build a Linux filesystem
syntax: mkfs [options] [-t type fs-options] device [size]
example:
1. To view the available mkfs commands
$ cd /sbin
$ ls mkfs*
2. To create a ext4 filesystem on /dev/sda3 partition
# mkfs -t ext4 /dev/sda3
3. To check for bad blocks before Building Filesystem
# mkfs -c /dev/sda3
4. To display information about mkfs command
$ mkfs --help
regards,
dhanasekar
_______________________________________________
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
ILUGC Mailing List Guidelines:
http://ilugc.in/mailinglist-guidelines