From 8ebf2cfb42ed0e99bcc41c8a03ec0fcd1c54cdd3 Mon Sep 17 00:00:00 2001 From: Michael Kerrisk Date: Mon, 11 May 2015 09:32:42 +0200 Subject: [PATCH] ioprio_set.2: Minor fix: change 'hda' to 'sda' in examples These days, we're more likely to see 'sd' than 'hd' disk devices. Signed-off-by: Michael Kerrisk --- man2/ioprio_set.2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/man2/ioprio_set.2 b/man2/ioprio_set.2 index 2d4cf452b..d526053fc 100644 --- a/man2/ioprio_set.2 +++ b/man2/ioprio_set.2 @@ -235,20 +235,20 @@ displays a list of all schedulers currently loaded in the kernel: .sp .RS .nf -.RB "$" " cat /sys/block/hda/queue/scheduler" +.RB "$" " cat /sys/block/sda/queue/scheduler" noop anticipatory deadline [cfq] .fi .RE .sp The scheduler surrounded by brackets is the one actually in use for the device -.RI ( hda +.RI ( sda in the example). Setting another scheduler is done by writing the name of the new scheduler to this file. For example, the following command will set the scheduler for the -.I hda +.I sda device to .IR cfq : .sp @@ -256,7 +256,7 @@ device to .nf .RB "$" " su" Password: -.RB "#" " echo cfq > /sys/block/hda/queue/scheduler" +.RB "#" " echo cfq > /sys/block/sda/queue/scheduler" .fi .RE .SS The Completely Fair Queuing (CFQ) I/O scheduler