diff options
| author | Richard Maw <richard.maw@codethink.co.uk> | 2014-06-12 12:04:01 +0100 |
|---|---|---|
| committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-06-12 12:04:01 +0100 |
| commit | c5c1033c5c7deda8abe3448ec81bbb33c72219e0 (patch) | |
| tree | 6e5cef29b85161eea8a7488a029f5a32f982c6ab /disk-utils/blockdev.8 | |
| parent | 462008f79be9e195670b202cb43827b8aeb1e60b (diff) | |
| parent | 2fb567c080e1762ec6a2147564f03068f55d4f14 (diff) | |
| download | util-linux-baserock/morph.tar.gz | |
Merge branch 'baserock/richardmaw/yakshave/util-linux-blkid' into baserock/morphbaserock/morph
Reviewed-by: Lars Wirzenius
Reviewed-by: Sam Thursfield
Diffstat (limited to 'disk-utils/blockdev.8')
| -rw-r--r-- | disk-utils/blockdev.8 | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/disk-utils/blockdev.8 b/disk-utils/blockdev.8 index 2b3d64c88..c46099d04 100644 --- a/disk-utils/blockdev.8 +++ b/disk-utils/blockdev.8 @@ -10,14 +10,14 @@ blockdev \- call block device ioctls from the command line .B blockdev .RB [ \-q ] .RB [ \-v ] -.IR command -.RI [ command ...] -.IR device -.RI [ device ...] +.I command +.RI [ command \&...\&] +.I device +.RI [ device \&...\&] .br .B blockdev .B \-\-report -.RI [ device ...] +.RI [ device \&...\&] .SH DESCRIPTION The utility .B blockdev @@ -60,17 +60,19 @@ Get read-only. Print 1 if the device is read-only, 0 otherwise. .IP "\fB\-\-getsize64\fP" Print device size in bytes. .IP "\fB\-\-getsize\fP" -Print device size (32-bit!) in sectors. Deprecated in favor of the --getsz option. +Print device size (32-bit!) in sectors. Deprecated in favor of the \-\-getsz option. .IP "\fB\-\-getss\fP" -Print sectorsize in bytes - usually 512. +Print sectorsize in bytes \(en usually 512. .IP "\fB\-\-getsz\fP" 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). +Set filesystem readahead (same like \-\-setra on 2.6 kernels). .IP "\fB\-\-setra\fP \fIsectors\fP" Set readahead (in 512-byte sectors). .IP "\fB\-\-setro\fP" @@ -78,7 +80,7 @@ Set read-only. .IP "\fB\-\-setrw\fP" Set read-write. .SH AUTHOR -blockdev was written by Andries E. Brouwer and rewritten by Karel Zak. +blockdev was written by Andries E.\& Brouwer and rewritten by Karel Zak. .SH AVAILABILITY The blockdev command is part of the util-linux package and is available from ftp://ftp.kernel.org/pub/linux/utils/util-linux/. |
