mirror of https://github.com/CrimsonTome/tldr.git
fsck: use partition instead of drive in examples (#7397)
parent
42c9fb0eb7
commit
d3420e2dd1
|
@ -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}}`
|
||||||
|
|
Loading…
Reference in New Issue