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
|
.sp
|
||||||
.RS
|
.RS
|
||||||
.nf
|
.nf
|
||||||
.RB "$" " cat /sys/block/hda/queue/scheduler"
|
.RB "$" " cat /sys/block/sda/queue/scheduler"
|
||||||
noop anticipatory deadline [cfq]
|
noop anticipatory deadline [cfq]
|
||||||
.fi
|
.fi
|
||||||
.RE
|
.RE
|
||||||
.sp
|
.sp
|
||||||
The scheduler surrounded by brackets is the one actually
|
The scheduler surrounded by brackets is the one actually
|
||||||
in use for the device
|
in use for the device
|
||||||
.RI ( hda
|
.RI ( sda
|
||||||
in the example).
|
in the example).
|
||||||
Setting another scheduler is done by writing the name of the
|
Setting another scheduler is done by writing the name of the
|
||||||
new scheduler to this file.
|
new scheduler to this file.
|
||||||
For example, the following command will set the
|
For example, the following command will set the
|
||||||
scheduler for the
|
scheduler for the
|
||||||
.I hda
|
.I sda
|
||||||
device to
|
device to
|
||||||
.IR cfq :
|
.IR cfq :
|
||||||
.sp
|
.sp
|
||||||
|
@ -256,7 +256,7 @@ device to
|
||||||
.nf
|
.nf
|
||||||
.RB "$" " su"
|
.RB "$" " su"
|
||||||
Password:
|
Password:
|
||||||
.RB "#" " echo cfq > /sys/block/hda/queue/scheduler"
|
.RB "#" " echo cfq > /sys/block/sda/queue/scheduler"
|
||||||
.fi
|
.fi
|
||||||
.RE
|
.RE
|
||||||
.SS The Completely Fair Queuing (CFQ) I/O scheduler
|
.SS The Completely Fair Queuing (CFQ) I/O scheduler
|
||||||
|
|
Loading…
Reference in New Issue