fsck: use partition instead of drive in examples (#7397)

feature/windows-fix-syntax-2
Janek 2021-11-10 11:15:57 +01:00 committed by GitHub
parent 42c9fb0eb7
commit d3420e2dd1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 6 deletions

View File

@ -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.
> 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}}`