Created
January 11, 2018 12:27
-
-
Save kyokuheki/f27ff8427228e773d158ecfdb97cc8a5 to your computer and use it in GitHub Desktop.
partedでのディスク初期化とbadblocks
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo parted -s -a optimal -- /dev/sda mklabel msdos mkpart primary ext4 1 -1 | |
sudo mkfs.ext4 -L NONAME /dev/sda1 | |
sudo badblocks -vs -o bad.txt /dev/disk/by-id/usb-TOSHIBA_External_USB_3.0_20140910010732-0\:0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment