mirror of https://github.com/mkerrisk/man-pages
loop.4: Minor tweaks to Yang Xu's patches
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
eb39881da1
commit
f7eff3e7e0
14
man4/loop.4
14
man4/loop.4
|
@ -155,12 +155,12 @@ This operation takes no argument.
|
|||
.TP
|
||||
.BR LOOP_SET_DIRECT_IO " (since Linux 4.10)"
|
||||
.\" commit ab1cb278bc7027663adbfb0b81404f8398437e11
|
||||
Set DIRECT IO mode on the loop device.
|
||||
So it can be used to open backing file.
|
||||
Set DIRECT I/O mode on the loop device, so that
|
||||
it can be used to open backing file.
|
||||
The (third)
|
||||
.BR ioctl (2)
|
||||
argument is an unsigned long value.
|
||||
non-zero represents direct IO mode.
|
||||
A non-zero represents direct I/O mode.
|
||||
.TP
|
||||
.BR LOOP_SET_BLOCK_SIZE " (since Linux 4.14)"
|
||||
.\" commit 89e4fdecb51cf5535867026274bc97de9480ade5
|
||||
|
@ -168,9 +168,11 @@ Set the block size of the loop device.
|
|||
The (third)
|
||||
.BR ioctl (2)
|
||||
argument is an unsigned long value.
|
||||
This value must be 2 to the power of N
|
||||
and in range [512,pagesize].
|
||||
Otherwise, it will get EINVAL error.
|
||||
This value must be a power of two in the range
|
||||
[512,pagesize];
|
||||
otherwise, an
|
||||
.B EINVAL
|
||||
error results.
|
||||
.PP
|
||||
Since Linux 2.6, there are two new
|
||||
.BR ioctl (2)
|
||||
|
|
Loading…
Reference in New Issue