mkfs
Sign in to saveIn Unix and Unix-like operating systems, mkfs is a command used to format a block storage device with a specific file system. In those systems, a block storage device must be formatted with a file system before it can be mounted and accessed through the operating system's filesystem hierarchy.
~4 min read
Article
5 sectionsContents
- History
- Syntax
- See also
- References
- External links
In Unix and Unix-like operating systems, mkfs is a command used to format a block storage device with a specific file system. In those systems, a block storage device must be formatted with a file system before it can be mounted and accessed through the operating system's filesystem hierarchy.
In 4.2BSD, newfs was a front end for mkfs; in 4.3-Tahoe, newfs replaced mkfs.