OSDN Git Service

4b80cd62a65fc8638e73ff077e36a6162764177f
[linuxjm/jm.git] / manual / util-linux / original / man8 / isosize.8
1 '\" t
2 .\"     Title: isosize
3 .\"    Author: [see the "AUTHOR(S)" section]
4 .\" Generator: Asciidoctor 2.0.15
5 .\"      Date: 2022-02-14
6 .\"    Manual: System Administration
7 .\"    Source: util-linux 2.37.4
8 .\"  Language: English
9 .\"
10 .TH "ISOSIZE" "8" "2022-02-14" "util\-linux 2.37.4" "System Administration"
11 .ie \n(.g .ds Aq \(aq
12 .el       .ds Aq '
13 .ss \n[.ss] 0
14 .nh
15 .ad l
16 .de URL
17 \fI\\$2\fP <\\$1>\\$3
18 ..
19 .als MTO URL
20 .if \n[.g] \{\
21 .  mso www.tmac
22 .  am URL
23 .    ad l
24 .  .
25 .  am MTO
26 .    ad l
27 .  .
28 .  LINKSTYLE blue R < >
29 .\}
30 .SH "NAME"
31 isosize \- output the length of an iso9660 filesystem
32 .SH "SYNOPSIS"
33 .sp
34 \fBisosize\fP [options] \fIiso9660_image_file\fP
35 .SH "DESCRIPTION"
36 .sp
37 This command outputs the length of an iso9660 filesystem that is contained in the specified file. This file may be a normal file or a block device (e.g. \fI/dev/hdd\fP or \fI/dev/sr0\fP). In the absence of any options (and errors), it will output the size of the iso9660 filesystem in bytes. This can now be a large number (>> 4 GB).
38 .SH "OPTIONS"
39 .sp
40 \fB\-x\fP, \fB\-\-sectors\fP
41 .RS 4
42 Show the block count and block size in human\-readable form. The output uses the term "sectors" for "blocks".
43 .RE
44 .sp
45 \fB\-d\fP, \fB\-\-divisor\fP \fInumber\fP
46 .RS 4
47 Only has an effect when \fB\-x\fP is not given. The value shown (if no errors) is the iso9660 file size in bytes divided by \fInumber\fP. So if \fInumber\fP is the block size then the shown value will be the block count.
48 .sp
49 The size of the file (or block device) holding an iso9660 filesystem can be marginally larger than the actual size of the iso9660 filesystem. One reason for this is that cd writers are allowed to add "run out" sectors at the end of an iso9660 image.
50 .RE
51 .SH "EXIT STATUS"
52 .sp
53 \fB0\fP
54 .RS 4
55 success
56 .RE
57 .sp
58 \fB1\fP
59 .RS 4
60 generic failure, such as invalid usage
61 .RE
62 .sp
63 \fB32\fP
64 .RS 4
65 all failed
66 .RE
67 .sp
68 \fB64\fP
69 .RS 4
70 some failed
71 .RE
72 .SH "REPORTING BUGS"
73 .sp
74 For bug reports, use the issue tracker at \c
75 .URL "https://github.com/karelzak/util\-linux/issues" "" "."
76 .SH "AVAILABILITY"
77 .sp
78 The \fBisosize\fP command is part of the util\-linux package which can be downloaded from \c
79 .URL "https://www.kernel.org/pub/linux/utils/util\-linux/" "Linux Kernel Archive" "."