Mike Dornberger wrote:
Hi Bart,
On Mon, Mar 06, 2006 at 11:47:16AM +0100, Bart Samwel wrote:
FYI: I've just submitted a patch to the upstream for this. If it gets
in, this bug may finally be solved. :-)
why not submit the patch to the BTS also, so LaMont can apply it, if he
uploads 2.12r-9 before a new upstream versions is available?
Hmmm, OK. It's dependent on another patch that adds BLKFRASET and
BLKFRAGET ioctl support. I've stripped that stuff out, here's the patch.
--Bart
--- util-linux-2.12r/disk-utils/blockdev.8.orig 2006-03-06 11:38:03.000000000
+0100
+++ util-linux-2.12r/disk-utils/blockdev.8 2006-03-08 15:09:40.000000000
+0100
@@ -40,13 +40,22 @@
.B \--getsize
Print device capacity (in 512-byte sectors).
.TP
+.B \--getsize64
+Print device capacity in bytes.
+.TP
+.B \--getbsz
+Print device block size.
+.TP
+.B \--setbsz
+Set device block size.
+.TP
.BI \--setra " N"
-Set readahead to
+Set device readahead to
.I N
512-byte sectors.
.TP
.B \--getra
-Print readahead (in 512-byte sectors).
+Print device readahead (in 512-byte sectors).
.TP
.B \--flushbufs
Flush buffers.