fsck: use partition instead of drive in examples (#7397)
This commit is contained in:
@@ -3,14 +3,14 @@
|
|||||||
> Check the integrity of a filesystem or repair it. The filesystem should be unmounted at the time the command is run.
|
> Check the integrity of a filesystem or repair it. The filesystem should be unmounted at the time the command is run.
|
||||||
> More information: <https://manned.org/fsck>.
|
> More information: <https://manned.org/fsck>.
|
||||||
|
|
||||||
- Check filesystem `/dev/sdX`, reporting any damaged blocks:
|
- Check filesystem `/dev/sdXN`, reporting any damaged blocks:
|
||||||
|
|
||||||
`fsck {{/dev/sdX}}`
|
`sudo fsck {{/dev/sdXN}}`
|
||||||
|
|
||||||
- Check filesystem `/dev/sdX`, reporting any damaged blocks and interactively letting the user choose to repair each one:
|
- Check filesystem `/dev/sdXN`, reporting any damaged blocks and interactively letting the user choose to repair each one:
|
||||||
|
|
||||||
`fsck -r {{/dev/sdX}}`
|
`sudo fsck -r {{/dev/sdXN}}`
|
||||||
|
|
||||||
- Check filesystem `/dev/sdX`, reporting any damaged blocks and automatically repairing them:
|
- Check filesystem `/dev/sdXN`, reporting any damaged blocks and automatically repairing them:
|
||||||
|
|
||||||
`fsck -a {{/dev/sdX}}`
|
`sudo fsck -a {{/dev/sdXN}}`
|
||||||
|
Reference in New Issue
Block a user