@@ -110,14 +110,14 @@ contain files named "0", "1", "2", ... The file numbers also represent
110
110
increasing zone start sector on the device.
111
111
112
112
All read and write operations to zone files are not allowed beyond the file
113
- maximum size, that is, beyond the zone size . Any access exceeding the zone
114
- size is failed with the -EFBIG error.
113
+ maximum size, that is, beyond the zone capacity . Any access exceeding the zone
114
+ capacity is failed with the -EFBIG error.
115
115
116
116
Creating, deleting, renaming or modifying any attribute of files and
117
117
sub-directories is not allowed.
118
118
119
119
The number of blocks of a file as reported by stat() and fstat() indicates the
120
- size of the file zone, or in other words, the maximum file size.
120
+ capacity of the zone file , or in other words, the maximum file size.
121
121
122
122
Conventional zone files
123
123
-----------------------
@@ -156,8 +156,8 @@ all accepted.
156
156
157
157
Truncating sequential zone files is allowed only down to 0, in which case, the
158
158
zone is reset to rewind the file zone write pointer position to the start of
159
- the zone, or up to the zone size , in which case the file's zone is transitioned
160
- to the FULL state (finish zone operation).
159
+ the zone, or up to the zone capacity , in which case the file's zone is
160
+ transitioned to the FULL state (finish zone operation).
161
161
162
162
Format options
163
163
--------------
@@ -324,7 +324,7 @@ file size set to 0. This is necessary as the write pointer of read-only zones
324
324
is defined as invalib by the ZBC and ZAC standards, making it impossible to
325
325
discover the amount of data that has been written to the zone. In the case of a
326
326
read-only zone discovered at run-time, as indicated in the previous section.
327
- the size of the zone file is left unchanged from its last updated value.
327
+ The size of the zone file is left unchanged from its last updated value.
328
328
329
329
Zonefs User Space Tools
330
330
=======================
@@ -401,8 +401,9 @@ append-writes to the file::
401
401
# ls -l /mnt/seq/0
402
402
-rw-r----- 1 root root 0 Nov 25 13:49 /mnt/seq/0
403
403
404
- Since files are statically mapped to zones on the disk, the number of blocks of
405
- a file as reported by stat() and fstat() indicates the size of the file zone::
404
+ Since files are statically mapped to zones on the disk, the number of blocks
405
+ of a file as reported by stat() and fstat() indicates the capacity of the file
406
+ zone::
406
407
407
408
# stat /mnt/seq/0
408
409
File: /mnt/seq/0
@@ -416,5 +417,6 @@ a file as reported by stat() and fstat() indicates the size of the file zone::
416
417
417
418
The number of blocks of the file ("Blocks") in units of 512B blocks gives the
418
419
maximum file size of 524288 * 512 B = 256 MB, corresponding to the device zone
419
- size in this example. Of note is that the "IO block" field always indicates the
420
- minimum I/O size for writes and corresponds to the device physical sector size.
420
+ capacity in this example. Of note is that the "IO block" field always
421
+ indicates the minimum I/O size for writes and corresponds to the device
422
+ physical sector size.
0 commit comments