summaryrefslogtreecommitdiff
path: root/util-linux
diff options
context:
space:
mode:
authorDenys Vlasenko2019-06-08 08:57:11 +0200
committerDenys Vlasenko2019-06-08 08:57:11 +0200
commit023ae75fc663d7978ea43e073be6f50b39f1f196 (patch)
tree18fef3ebf9ab2de6062810fedac7bd1eb68b398c /util-linux
parent1230aec77a4034637ab6c95db6f8148c1d0df5e0 (diff)
downloadbusybox-023ae75fc663d7978ea43e073be6f50b39f1f196.zip
busybox-023ae75fc663d7978ea43e073be6f50b39f1f196.tar.gz
blockdev: add usage comment, no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'util-linux')
-rw-r--r--util-linux/blockdev.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/util-linux/blockdev.c b/util-linux/blockdev.c
index e9b5b8b..e60bbe6 100644
--- a/util-linux/blockdev.c
+++ b/util-linux/blockdev.c
@@ -29,7 +29,17 @@
//usage: "\n --getsize64 Get device size in bytes"
//usage: "\n --flushbufs Flush buffers"
//usage: "\n --rereadpt Reread partition table"
-
+// util-linux 2.31 also has:
+// --getdiscardzeroes BLKDISCARDZEROES Get discard zeroes support status
+// --getpbsz BLKPBSZGET Get physical block (sector) size
+// --getiomin BLKIOMIN Get minimum I/O size
+// --getioopt BLKIOOPT Get optimal I/O size
+// --getalignoff BLKALIGNOFF Get alignment offset in bytes
+// --getmaxsect BLKSECTGET Get max sectors per request
+// --setra SECTORS BLKRASET Set readahead
+// --getra BLKRAGET Get readahead
+// --setfra SECTORS BLKFRASET Set filesystem readahead
+// --getfra BLKFRAGET Get filesystem readahead
#include "libbb.h"
#include <linux/fs.h>