summaryrefslogtreecommitdiffstats
path: root/disk-utils/blockdev.8
Commit message (Collapse)AuthorAgeFilesLines
* blockdev: make –-getbsz less confusing for end-usersKarel Zak2019-02-281-1/+3
| | | | | Addresses: https://bugzilla.redhat.com/show_bug.cgi?id=1684078 Signed-off-by: Karel Zak <kzak@redhat.com>
* blockdev: be more explicit for BLKSSZ in blockdev.8Karel Zak2017-11-131-1/+1
| | | | | Addresses: https://github.com/karelzak/util-linux/issues/535 Signed-off-by: Karel Zak <kzak@redhat.com>
* blockdev: document --setro more properlyKarel Zak2017-08-141-1/+2
| | | | | Addresses: https://github.com/karelzak/util-linux/issues/498 Signed-off-by: Karel Zak <kzak@redhat.com>
* blockdev: improve --help and man pageRuediger Meier2017-06-271-2/+7
| | | | Signed-off-by: Ruediger Meier <ruediger.meier@ga-group.nl>
* docs: replace FTP by HTTPS in kernel.org URLsSébastien Helleu2016-12-191-1/+1
| | | | | | | The links to ftp://ftp.kernel.org/ are replaced by https://www.kernel.org/. Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: Fix various typosSebastian Rasmussen2016-05-311-1/+1
| | | | Signed-off-by: Sebastian Rasmussen <sebras@gmail.com>
* docs: remove obsolete and unneeded comments from man-page filesBenno Schulenberg2015-01-121-2/+0Star
| | | | | | | Transform some of them into copyright lines. Also fix three header lines and snip some trailing whitespace. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* blockdev: Some minor corrections to the manualBjarni Ingi Gislason2014-04-071-9/+9
| | | | | | | | | | | | | | | Macro, that alternately changes the input between two font styles, changed to the macro for one font style change, if there is only one argument Text string, that begins or ends with a full stop (.) protected with \& -- changed to \-\- if it is an option - changed to \(en if it is a dash (pause, seperation) Signed-off-by: Karel Zak <kzak@redhat.com>
* blockdev: add note about --setbsz usabilityKarel Zak2013-10-111-1/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* Revert "blockdev: Remove the --setbsz (set blocksize) option which has never ↵Karel Zak2013-10-111-0/+2
| | | | | | | | | | | | | worked." This reverts commit b1555acc2f709ac4f3b1e6c686a11cadb7b04f72. It seems that the option is used by kernel guys to test kernel, so let's keep the option in the blockdev(8) although it's almost useless in userspace. All we need is to improve docs to make things more obvious to end users. Signed-off-by: Karel Zak <kzak@redhat.com>
* blockdev: Remove the --setbsz (set blocksize) option which has never worked.Richard W.M. Jones2013-10-081-2/+0Star
| | | | | | | | | | | | | | | | | | | This option has never worked. If you try setting the block size on a block device, and then read it using --getbsz, you will see that the block size never changes. The reason for this is because 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. Also the block size is not really used anywhere. Filesystems, for example, have their own idea of block size and ignore this setting completely. (Thanks Masayoshi Mizuma for diagnosing the problem) Signed-off-by: Richard W.M. Jones <rjones@redhat.com>
* docs: uniformize the header and footer lines in man pagesBenno Schulenberg2011-08-221-1/+1
| | | | | | | | | | Use dates without the day, use the full month name, put "util-linux" in the lower left corner, and "User Commands" or "System Administration" at the top center. Also improve here and there the one-line program description. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* disk-utils: fix manpage typosDavidlohr Bueso2011-01-171-1/+1
| | | | Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* rename util-linux-ng back to util-linuxKarel Zak2010-11-301-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blockdev: fix typo in blockdev.8Karel Zak2010-08-281-1/+1
| | | | | Reported-by: Marcos Felipe Rasia de Mello <marcosfrm@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* blockdev: sync man page with codeKarel Zak2010-08-241-64/+56Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blockdev.8: formattingPeter Breitenlohner2009-08-171-1/+1
| | | | Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
* blockdev: add note that the StartSec is in 512-byte sectorsKarel Zak2009-02-261-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blockdev: add --getsz to blockdev.8Karel Zak2007-11-281-2/+7
| | | | | | This patch also marks --getsize as deprecated option. Signed-off-by: Karel Zak <kzak@redhat.com>
* blockdev: add missing description about option --report in manpageLi Zefan2007-09-191-0/+8
| | | | | | The manpage does not mention the option --report. Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
* man pages: add "AVAILABILITY" sectionKarel Zak2007-07-031-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blockdev: cleanup usage() and update man pageKarel Zak2007-06-291-2/+20
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blockdev: add BLKFRAGET/BLKFRASET ioctlsKarel Zak2007-06-291-0/+6
| | | | | | | | | | | | | | In Linux 2.6 the BLKRASET ioctl has the desired effect for mounted file-systems. In Linux 2.4 it appears to set the number of blocks to read-ahead on the *device* as opposed to within a *file*, and the maximum value of this number is 255. As a result the invocation of blockdev will fail on Linux 2.4 for any usefully large value of READAHEAD, and will not in any case have the desired affect for fragmented files. (Based on the blockdev-getfra-setfra.patch Debian patch.) Signed-off-by: Karel Zak <kzak@redhat.com>
* Imported from util-linux-2.10s tarball.Karel Zak2006-12-071-0/+55