diff options
author | Karel Zak | 2013-10-11 11:16:23 +0200 |
---|---|---|
committer | Karel Zak | 2013-10-11 11:16:23 +0200 |
commit | 7ab32ae64d05f018c171ba1525bc337805d84391 (patch) | |
tree | 9ebc395b17abd59f70b8e2fa3f3ee7a02657b983 /disk-utils/blockdev.8 | |
parent | Revert "blockdev: Remove the --setbsz (set blocksize) option which has never ... (diff) | |
download | kernel-qcow2-util-linux-7ab32ae64d05f018c171ba1525bc337805d84391.tar.gz kernel-qcow2-util-linux-7ab32ae64d05f018c171ba1525bc337805d84391.tar.xz kernel-qcow2-util-linux-7ab32ae64d05f018c171ba1525bc337805d84391.zip |
blockdev: add note about --setbsz usability
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'disk-utils/blockdev.8')
-rw-r--r-- | disk-utils/blockdev.8 | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/disk-utils/blockdev.8 b/disk-utils/blockdev.8 index 2b3d64c88..f4282daae 100644 --- a/disk-utils/blockdev.8 +++ b/disk-utils/blockdev.8 @@ -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" |