blockdev: add note about --setbsz usability
Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
39d2e7067d
commit
7ab32ae64d
|
@ -68,7 +68,9 @@ Get size in 512-byte sectors.
|
|||
.IP "\fB\-\-rereadpt\fP"
|
||||
Reread partition table
|
||||
.IP "\fB\-\-setbsz\fP \fIbytes\fP"
|
||||
Set blocksize.
|
||||
Set blocksize. Note that the block size is specific to the current file
|
||||
descriptor opening the block device, so the change of block size only persists
|
||||
for as long as blockdev has the device open, and is lost once blockdev exits.
|
||||
.IP "\fB\-\-setfra\fP \fIsectors\fP"
|
||||
Set filesystem readahead (same like --setra on 2.6 kernels).
|
||||
.IP "\fB\-\-setra\fP \fIsectors\fP"
|
||||
|
|
|
@ -127,7 +127,7 @@ static const struct bdc bdcms[] =
|
|||
.argname = "<bytes>",
|
||||
.argtype = ARG_INT,
|
||||
.flags = FL_NORESULT,
|
||||
.help = N_("set blocksize")
|
||||
.help = N_("set blocksize on file descriptor opening the block device")
|
||||
},{
|
||||
IOCTL_ENTRY(BLKGETSIZE),
|
||||
.name = "--getsize",
|
||||
|
|
Loading…
Reference in New Issue