TX1上挂载SD卡
插入SD卡后,輸入
$ sudo fdisk -l
可以看到SD卡的位置
/dev/mmcblk1p1 Disk /dev/mmcblk1: 29.7 GiB, 31914983424 bytes, 62333952 sectors Units: sectors of 1 * 512 = 512 bytes Sector size (logical/physical): 512 bytes / 512 bytes I/O size (minimum/optimal): 512 bytes / 512 bytes Disklabel type: dos Disk identifier: 0xdcef3dbcDevice Boot Start End Sectors Size Id Type /dev/mmcblk1p1 8192 62333951 62325760 29.7G c W95 FAT32 (LBA)在/mnt目錄下新建掛載點
sudo mkdir /mnt/sd1輸入下面的指令可以將SD卡掛載到剛才建立的掛載點
$ sudo mount /dev/mmcblk1p1 /mnt/sd1/
輸入下面的指令可以看到掛載點的狀況
$ ls -l /mnt/sd1/
再查看所有掛載設備
$ mount
可以看到/dev/mmcblk1p1已經掛接到了/mnt/sd1/上了
輸入下列指令可以斷開掛接
$ sudo umount?/mnt/sd1
注意!!注意!!注意!!
如果提示SD卡不可讀unwriting,可能是讀卡器鎖上了,將讀卡器解鎖即可解決問題!
該問題困擾了樓主一晚上。。。。
總結
- 上一篇: SACC2018:深度培训课程破解千万级
- 下一篇: linux控制台单人五子棋简书,实现一个