I want to make a new file system on a device. The operating system I am using is UNIX. What is the command I can use to achieve this purpose.
Printable View
I want to make a new file system on a device. The operating system I am using is UNIX. What is the command I can use to achieve this purpose.
For making a new file system on a device on UNIX operating system one can make use of mkfs command. This command is placed in /etc/ directory of UNIX. This command takes two arguments. The first argument is the directory and file name and the second argument is the size of the file system in blocks.