sd 卡的一些基本操作

来源:互联网 发布:java研发工程师深圳 编辑:程序博客网 时间:2024/06/05 10:57


  1.打开终端,运行:
  mknod /dev/mmcblk0 b 254 1
  3.建立挂载目录:
  mkdir /mnt/mmc
  4.插入SD/MMC卡
  fdisk -l /dev/mmcblk0
  就可以看到分区信息:
  Disk /dev/mmcblk0: 513 MB, 513802240 bytes
  32 heads, 32 sectors/track, 980 cylinders
  Units = cylinders of 1024 * 512 = 524288 bytes
  Device Boot Start End Blocks Id System
  /dev/mmcblk0p1 1 980 501744 6 FAT16
  5.挂载:
  mount -t vfat -o sync /dev/mmcblk0p1 /mnt/mmc
mount –t vfat /dev/mmc/blk0/part1 /mnt

关于nfs。使用mount总是不成功:
    / # mount -t nfs 192.168.1.106:/yctek /mnt

原创粉丝点击