Commit Graph

10 Commits

Author SHA1 Message Date
Karel Zak 8f83100949 blockdev: fix typo in blockdev.8
Reported-by: Marcos Felipe Rasia de Mello <marcosfrm@gmail.com>
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-08-28 00:50:24 +02:00
Karel Zak 455fdf4af8 blockdev: sync man page with code
Signed-off-by: Karel Zak <kzak@redhat.com>
2010-08-24 12:59:41 +02:00
Peter Breitenlohner feae57c9e5 blockdev.8: formatting
Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
2009-08-17 12:11:09 +02:00
Karel Zak 010d0a4cca blockdev: add note that the StartSec is in 512-byte sectors
Signed-off-by: Karel Zak <kzak@redhat.com>
2009-02-26 15:58:28 +01:00
Karel Zak 7dcca505f8 blockdev: add --getsz to blockdev.8
This patch also marks --getsize as deprecated option.

Signed-off-by: Karel Zak <kzak@redhat.com>
2007-11-28 20:55:45 +01:00
Li Zefan 45be3f7d8d blockdev: add missing description about option --report in manpage
The manpage does not mention the option --report.

Signed-off-by: Li Zefan <lizf@cn.fujitsu.com>
2007-09-19 23:14:09 +02:00
Karel Zak 86d62711a9 man pages: add "AVAILABILITY" section
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-07-03 01:17:04 +02:00
Karel Zak a424171cd1 blockdev: cleanup usage() and update man page
Signed-off-by: Karel Zak <kzak@redhat.com>
2007-06-29 12:06:58 +02:00
Karel Zak c2a1e78808 blockdev: add BLKFRAGET/BLKFRASET ioctls
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>
2007-06-29 11:38:54 +02:00
Karel Zak 66ee8158b6 Imported from util-linux-2.10s tarball. 2006-12-07 00:25:44 +01:00