Example of isosize instruction operation in Linux

  

Among the many commands in Linux system, some commands are less commonly used, such as the isosize command. As a Linux beginner, because the command does not appear often and does not understand its usage, the following small series will give you an explanation through the use of the isosize instruction in Linux.

Usage introduce

isosize command: iso9660 file system size display

isosize command is used to display the size of the iso9660 file system, files can also make ordinary files, It can be a block device, such as /dev/sr0 or /dev/sda. If there is no requirement for the relevant option, the size is displayed in bytes by default. This command supports text systems larger than 4G. The syntax of the command is as follows.

isosize [-x] [-d num]

-x is displayed in an easy-to-read manner, for example, "sector" instead of <;block”

-d is not used with -x, and the result displayed is the actual size (in bytes) except for the specified num. So if num stands for "block" size, the output will be the block size.

iso9660_image_file Specified iso9660 file system

Take a few examples to see:

[root@apache ~]# isosize /dev/cdrom //The default will be in bytes Way display

3100022784

[root@apache ~]# isosize -x /dev/cdrom //sector count: number of sectors |  Sector size: sector size

sector count: 1513683, sector size: 2048

[root@apache ~]# isosize -d 1024 /dev/cdrom //to a & rdquo; block & ldquo For the "1024" Bytes display device size, calculate almost 3G

3027366

The above is the usage of the ISOSIZE instruction in Linux, through the example of the explanation, presumably you already know How to use the isosize command to view the iso9660 file system size.

Copyright © Windows knowledge All Rights Reserved