美文网首页
SD卡挂载

SD卡挂载

作者: 会飞的蜗牛07 | 来源:发表于2019-01-28 16:30 被阅读0次

使用fdisk -l查看SD卡的驱动设备文件,如

/mnt # fdisk -l

Disk /dev/mmcblk0: 7948 MB, 7948206080 bytes
4 heads, 16 sectors/track, 242560 cylinders
Units = cylinders of 64 * 512 = 32768 bytes

        Device Boot      Start         End      Blocks  Id System
/dev/mmcblk0p1              33      242560     7760896  83 Linux

这里的/dev/mmcblk0p1就是我们要找的信息,使用命令

mkdir /mnt/SD_card1 && mount -t ext4 /dev/mmcblk0p1 /mnt/SD_card1 && mount && ls -l /mnt/SD_card1

即可实现EXT4格式的SD卡挂载。

相关文章

网友评论

      本文标题:SD卡挂载

      本文链接:https://www.haomeiwen.com/subject/xngajqtx.html