Browse Source

Fix bug

content-update
xpetit 3 years ago
parent
commit
3b8a363263
No known key found for this signature in database
GPG Key ID: 97C60669182C17A5
  1. 2
      sh/debian/ubuntu/system/usr/local/src/format/main.go

2
sh/debian/ubuntu/system/usr/local/src/format/main.go diff.vendored

@ -231,7 +231,7 @@ func main() {
run("erase disk data", "wipefs", "--all", device.Path)
run("erase disk data", "sgdisk", "--zap-all", device.Path)
run("create partition table", "sgdisk", "--largest-new", "0", device.Path)
run("create partition table", "sgdisk", "--change-name", "0:01-home", device.Path)
run("create partition table", "sgdisk", "--change-name", "1:01-home", device.Path)
run("inform the OS of partition table changes", "partx", "--update", device.Path)
run("format partition", "mkfs.f2fs", "-f", device.Path+"1")
fmt.Println("done")

Loading…
Cancel
Save