Friday, 29 April 2016

create and mount ext4 filesystem

Syntax: 

mkfs.ext4  "Device Name"

(or)

mke2fs -t ext4 "Device Name"


Example:
# mkfs.ext4 /dev/sda3

# mkdir /ext4_filesystem

# mount -t ext4 /dev/sda3  /ext4_filesystem

No comments:

Post a Comment