mirror of https://github.com/mkerrisk/man-pages
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 <mtk.manpages@gmail.com>
This commit is contained in:
parent
7e5d08eb08
commit
8ebf2cfb42
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue