Isosize command: iso9660 file system size display
The Isosize command is used to display the size of the iso9660 file system, as well as files that can make normal files or block devices, such as/dev/sr0 or/DEV/SDA. If there are no rules for the relevant options, the default size is shown in bytes. This command supports a text system larger than 4G. The syntax format for this command is as follows.
Isosize [-X] [-D num]
-X is displayed in an easy-to-read manner, such as "sector" instead of "block"
-D is not used in conjunction with-X, and the result shown is the actual size (in bytes) except for the specified Num. So if Num represents a "block" size, the output will be the block size.
Iso9660_image_file the specified iso9660 file system
Take a few examples to see:
[[email protected] ~]# isosize/dev/cdrom //default will be displayed in byte mode
3100022784
[Email protected] ~]# isosize-x/dev/cdrom //sector count: Number of Sectors | Sector size: Sector sizes
Sector count:1513683, Sector size:2048
[[email protected] ~]# isosize-d 1024/dev/cdrom //With a "block" for "1024" bytes to display the device size, calculate almost 3G
3027366