Содержащиеся вНайти другие документыРесурсы поддержки | Загрузить это руководство в формате PDF (8966 КБ)
mkfs_ufs(1M)Name | Synopsis | Description | Options | Options | Operands | Attributes | See Also | Diagnostics | Notes Name
Synopsis
mkfs -F ufs [generic_options] [-o FSType_specific_options] raw_device_file
[size]
DescriptionThe UFS-specific module of mkfs builds a UFS file system with a root directory and a lost+found directory (see fsck(1M)). The UFS-specific mkfs is rarely run directly. Use the newfs(1M) command instead. raw_device_file indicates the disk partition on which to create the new file system. If the -o N, -V, or -m options are specified, the raw_device_file is not actually modified. size specifies the number of disk sectors in the file system, where a disk sector is usually 512 bytes. This argument must follow the raw_device_file argument and is required (even with -o N), unless the -V or -m generic options are specified. generic_options are supported by the generic mkfs command. See mkfs(1M) for a description of these options. Options
The following generic options are supported: Options
The following UFS-specific options are supported: OperandsAttributesSee attributes(5) for descriptions of the following attributes:
See AlsoDiagnosticsThe following error message typically occurs with very high density disks. On such disks, the file system structure cannot encode the proper disk layout information. However, such disks have enough onboard intelligence to make up for any layout deficiencies, so there is no actual impact on performance. The warning that performance might be impaired can be safely ignored.
The following error message occurs when the disk geometry results in a situation where the last truncated cylinder group cannot contain the correct number of data blocks. Some disk space is wasted.
If there is only one cylinder group and if the above condition holds true, mkfs fails with the following error:
The following error message occurs when the best calculated file system layout is unable to include the last few sectors in the last cylinder group. This is due to the interaction between how much space is used for various pieces of meta data and the total blocks available in a cylinder group. Modifying nbpi and cpg might reduce this number, but it is rarely worth the effort.
NotesYou can use lofiadm to create a file that appears to the mkfs command (for example, mkfs_pcfs or mkfs_ufs) as a raw device. You can then use the mkfs command to create a file system on that device. See lofiadm(1M) for examples of creating a UFS and a PC (FAT) file system on a device created by lofiadm. Both the block and character devices, such as devices in /dev/dsk and /dev/rdsk, must be available prior to running the mkfs command. Name | Synopsis | Description | Options | Options | Operands | Attributes | See Also | Diagnostics | Notes |
|||||||||