挂载硬盘与格式化磁盘

先格式化,后挂载

格式化
mkfs -t 文件系统类型 /dev/设备名

挂载
mount -t ext4 /dev/sdb /mnt/data0
卸载
umount /mnt/data0

猜你喜欢

转载自phl.iteye.com/blog/1988297