mirror of https://github.com/mkerrisk/man-pages
loop.4: Document LOOP_SET_BLOCK_SIZE
Signed-off-by: Yang Xu <xuyang2018.jy@cn.fujitsu.com> Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
This commit is contained in:
parent
9d40af2a55
commit
89593f2df6
|
@ -159,6 +159,13 @@ Set DIRECT IO mode on the loop device. So 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.
|
||||
.TP
|
||||
.BR LOOP_SET_BLOCK_SIZE " (since Linux 4.14)"
|
||||
.\" commit 89e4fdecb51cf5535867026274bc97de9480ade5
|
||||
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.
|
||||
.PP
|
||||
Since Linux 2.6, there are two new
|
||||
.BR ioctl (2)
|
||||
|
|
Loading…
Reference in New Issue