📜  格式化 pendrive linux - Shell-Bash 代码示例

📅  最后修改于: 2022-03-11 14:51:07.911000             🧑  作者: Mango

代码示例1
# Identify USB drive in your system
df -h

# Linux can't format devices that are mounted. Unmoute using
sudo umount /dev/sdc1 

# Format with file system
# use any of
sudo mkfs.vfat /dev/sdc1 
sudo mkfs.ntfs /dev/sdc1 
sudo mkfs.ext4 /dev/sdc1