File System Administration
Once a disk is formatted and partitioned, file systems can be created. For disk drives, only the UFS file system can be created. Once a file system has been created, it can be mounted, unmounted, checked, and repaired.
Creating UFS File Systems
The mkfs(1M), mkfs_ufs(1M), and newfs(1M) commands can be used to create a UFS file system. The mkfs_ufs command is typically not used directly. It is called by the mkfs command when it is used to create a UFS file system. The newfs command is the preferred method for creating a UFS file system, because it provides a user-friendly interface to the mkfs command.
The newfs command calculates the appropriate parameters and calls the mkfs command to create the file system. Command-line ...