summaryrefslogtreecommitdiff
path: root/doc/kernel/striped.txt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/kernel/striped.txt')
-rw-r--r--doc/kernel/striped.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/kernel/striped.txt b/doc/kernel/striped.txt
index 45f3b91..07ec492 100644
--- a/doc/kernel/striped.txt
+++ b/doc/kernel/striped.txt
@@ -37,9 +37,9 @@ if (!$num_devs) {
die("Specify at least one device\n");
}
-$min_dev_size = `blockdev --getsize $devs[0]`;
+$min_dev_size = `blockdev --getsz $devs[0]`;
for ($i = 1; $i < $num_devs; $i++) {
- my $this_size = `blockdev --getsize $devs[$i]`;
+ my $this_size = `blockdev --getsz $devs[$i]`;
$min_dev_size = ($min_dev_size < $this_size) ?
$min_dev_size : $this_size;
}