The mkfs Command
Although it’s highly recommended that the newfs command be used to create file systems, it’s also important to see what is happening “behind the scenes” with the mkfs utility. The syntax for mkfs is as follows:
/usr/sbin/mkfs [options] <character device name>
Its options are described in Table 14.2.
Option | Description |
---|---|
-F | Used to specify the file system type. If this option is omitted, the /etc/vfstab and /etc/default/fs files are checked to determine a file system type. |
-m | Shows the command line that was used to create the specified file system. No changes are made to the file system. |
-v | Verbose. Shows the command line, but does not execute anything. |
-o <specific options> | A list of options specific ... |
Get Inside Solaris™ 9 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.