sd卡分区,并格式化
This commit is contained in:
parent
253a3ae818
commit
c7f8d4c016
|
@ -0,0 +1,32 @@
|
||||||
|
d
|
||||||
|
|
||||||
|
|
||||||
|
d
|
||||||
|
|
||||||
|
|
||||||
|
d
|
||||||
|
|
||||||
|
|
||||||
|
d
|
||||||
|
|
||||||
|
|
||||||
|
d
|
||||||
|
|
||||||
|
|
||||||
|
n
|
||||||
|
p
|
||||||
|
1
|
||||||
|
2048
|
||||||
|
200000
|
||||||
|
n
|
||||||
|
p
|
||||||
|
2
|
||||||
|
|
||||||
|
|
||||||
|
t
|
||||||
|
1
|
||||||
|
b
|
||||||
|
t
|
||||||
|
2
|
||||||
|
b
|
||||||
|
w
|
|
@ -0,0 +1,6 @@
|
||||||
|
#!/bin/bash
|
||||||
|
sudo umount ${1}*
|
||||||
|
sudo fdisk ${1} < ./fdisk-partition
|
||||||
|
sleep 2
|
||||||
|
sudo mkfs.vfat -F 32 ${1}1
|
||||||
|
sudo mkfs.vfat -F 32 ${1}2
|
Loading…
Reference in New Issue