badblocks, ddrescue, fdisk, fsck, ioping, smartctl, wipefs: change /dev/sda into /dev/sdX (#4861)

This commit is contained in:
Agno94
2020-10-29 12:21:45 +01:00
committed by GitHub
parent 0d2c364b9d
commit c312c50b99
7 changed files with 29 additions and 29 deletions

View File

@@ -9,4 +9,4 @@
- Clone Disk A to Disk B, creating a log file:
`sudo ddrescue --force --no-scrape {{/dev/sda}} {{/dev/sdb}} {{path/to/log.txt}}`
`sudo ddrescue --force --no-scrape {{/dev/sdX}} {{/dev/sdY}} {{path/to/log.txt}}`

View File

@@ -8,4 +8,4 @@
- Start the partition manipulator:
`fdisk {{/dev/sda}}`
`fdisk {{/dev/sdX}}`

View File

@@ -2,14 +2,14 @@
> Check the integrity of a filesystem or repair it. The filesystem should be unmounted at the time the command is run.
- Check filesystem /dev/sda, reporting any damaged blocks:
- Check filesystem `/dev/sdX`, reporting any damaged blocks:
`fsck {{/dev/sda}}`
`fsck {{/dev/sdX}}`
- Check filesystem /dev/sda, reporting any damaged blocks and interactively letting the user choose to repair each one:
- Check filesystem `/dev/sdX`, reporting any damaged blocks and interactively letting the user choose to repair each one:
`fsck -r {{/dev/sda}}`
`fsck -r {{/dev/sdX}}`
- Check filesystem /dev/sda, reporting any damaged blocks and automatically repairing them:
- Check filesystem `/dev/sdX`, reporting any damaged blocks and automatically repairing them:
`fsck -a {{/dev/sda}}`
`fsck -a {{/dev/sdX}}`

View File

@@ -4,16 +4,16 @@
- Display signatures for specified device:
`sudo wipefs {{/dev/sda}}`
`sudo wipefs {{/dev/sdX}}`
- Wipe all available signatures for specified device:
`sudo wipefs --all {{/dev/sda}}`
`sudo wipefs --all {{/dev/sdX}}`
- Perform dry run:
`sudo wipefs --all --no-act {{/dev/sda}}`
`sudo wipefs --all --no-act {{/dev/sdX}}`
- Force wipe, even if the filesystem is mounted:
`sudo wipefs --all --force {{/dev/sda}}`
`sudo wipefs --all --force {{/dev/sdX}}`