$ parted /dev/xvda
GNU Parted 2.1
/dev/xvda を使用
GNU Parted へようこそ! コマンド一覧を見るには 'help' と入力してください。
(parted) help
align-check TYPE N check partition N for TYPE(min|opt) alignment
check NUMBER ファイルシステムの簡単なチェックする
cp [転送元デバイス] 転送元NUMBER 転送先NUMBER
ファイルシステムを他のパーティションにコピーする
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
package main | |
import ( | |
"bufio" | |
"encoding/json" | |
"flag" | |
"fmt" | |
"log" | |
"os" | |
"regexp" |