badblocks, ddrescue, fdisk, fsck, ioping, smartctl, wipefs: change /dev/sda into /dev/sdX (#4861)
This commit is contained in:
@@ -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}}`
|
||||
|
@@ -8,4 +8,4 @@
|
||||
|
||||
- Start the partition manipulator:
|
||||
|
||||
`fdisk {{/dev/sda}}`
|
||||
`fdisk {{/dev/sdX}}`
|
||||
|
@@ -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}}`
|
||||
|
@@ -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}}`
|
||||
|
Reference in New Issue
Block a user