Listing 6. Start of the strace on MKFS.
清单6. mkfs上strace的开头部分。
Once created, partitions are formatted with the correct version of the MKFS command.
分区创建完成后,用适当版本的mkfs命令对其进行格式化。
I create a partition on it using fdisk, then create a filesystem on that partition using MKFS.
我使用fdisk在它上面创建一个分区,然后使用mkfs在那个分区上创建一个文件系统。
Listing 6 shows that the ioctl call caused the MKFS program that was used to format a partition to fail.
清单6显示ioctl调用导致用来格式化分区的mkfs程序失败。
When you're done, you can use the normal Linux file system-management tools, such as MKFS, to create file systems on your disk.
创建分区后,您可以使用普通的Linux文件系统工具(比如mkfs)在磁盘上创建文件系统。
Therefore, the MKFS code will change to call the older ioctl call if the BLKGETSIZE64 ioctl call fails; this allows MKFS to work with the logical volume manager.
因此,如果BLKGETSIZE64ioctl调用失败,mkfs代码将改为调用较早的ioctl调用;这使得mkfs适用于逻辑卷管理器。
In a matter of minutes I was able to create a pair of 512 GB volumes, attach them to an EC2 instance, create file systems on them with MKFS, and then mount them.
在短短的几分钟内,我就创建了一对512gb的卷,并把它们挂接到EC2实例上,然后用mkfs在上面创建文件系统,最后挂载它们。
In a matter of minutes I was able to create a pair of 512 GB volumes, attach them to an EC2 instance, create file systems on them with MKFS, and then mount them.
在短短的几分钟内,我就创建了一对512gb的卷,并把它们挂接到EC2实例上,然后用mkfs在上面创建文件系统,最后挂载它们。
应用推荐