linux开发板g_mass_storage模拟U盘
#!/bin/bashLinuxFileName="/media/disk" #linux mount file nameCapacityNum=1024 #capacity num 1024MImageFile="/disk.img"Version="v0.0.1"if [ ! -f "$ImageFile" ]; then echo "file not exist!"