mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-03-28 21:16:20 +01:00
fsck: use partition instead of drive in examples (#7397)
This commit is contained in:
parent
42c9fb0eb7
commit
d3420e2dd1
1 changed files with 6 additions and 6 deletions
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue