QNX---EMMC 分区

QNX EMMC 分区是通过fdisk实现的,其分区命令使用帮助信息如下:

fdisk - create QNX disk partition (QNX)fdisk  [-zf] [-B loader] drive [cmd [args]]
Options:-z        Zero the partition table (interactive mode only)-B loader Use filename 'loader' as the primary loader for the device.-f        Force boot loader to be written on demand, even if it isimpossible to save the old loader which had been on the disk.In non-interactive mode force "add" command to be actioned, evenif this would involve over-writing an existing partition slot.Where:drive     is the name of the disk (e.g. /dev/fd1, /dev/hd0)cmd       is a mandatory command.  Recognised commands are:add    [args]             Create a partition.delete [args]             Delete partition(s).boot   [args]             Make partition bootable.query  [args]             Size in cylinders.loader                    Copy boot loader to disk.show                      Display partition table.info                      Show mount info for raw drive.Command Arguments:
add [-s slot] [-e index] [-t type] [-b] [-c start,end] [-p percentage] [-l]Note that extended partition indices may change due to additions.Options:-s slot           Slot in partition table to use (1..4, default is last free)-e index          Index into the extended partition. (1..N)-t type           Type of partition to be added (1 - 255, default is 77).-b                Make added partition boot capable.-c start,end      Pass the start and end cylinder for the partition to use.-n count          Number of cylinders to allocate (extended partitions only)-p percent        Percentage of the largest contiguous space the addedpartition should use, this option is ignored if the -coption is used (default is 100%)
delete [-s slot] [-e index] [-t type] [-a]Note that extended partition indices may change due to deletions.Options:-s slot           Delete partition in selected slot.-e index          Index into the extended partition. (1..N)-t type           Delete partition of selected type.-a                Delete all partitions.
boot [-s slot] [-e index] [-t type]Options:-s slot           Boot partition in selected slot.-e index          Index into the extended partition. (1..N)-t type           Boot partition of selected type.
type [-s slot] [-t type[,type2]]Options:-s slot           Change type in selected slot.-t type[,type2]   If slot is specified, only type is valid as the new type.If slot is not specified, both type and type2 are required,and change the selected type to type2.
query [-s slot] [-e index] [-t type] [-f] [-T] [-l]Options:-s slot           Query partition in selected slot.-e index          Index into the extended partition. (1..N)-t type           Query partition of selected type.-f                Query total number of free cylinders.-T                Query total number of cylinders.-l                Change units from cylinders to blocks.

根据上述帮助信息,进行分区。

首先查看设备/dev下是否挂在了EMMC设备,设备号为hd0,从上面我可以看到 已经分了四个区,分别是hd0t12,hd0t12.1,hd0t12.2,hd0t12.3;其中hd0t12 中的t12为文件系统类型,这里使用的是FAT32 。

通过fdisk 查看我当前的分区,分类四个区,每一个区可以根据自己的需要设置不同的大小和文件类型,本分区的文件类型是t12 也就是当前的hd0t12。

下面我重新分区,先要删除所有分区,使用fdisk /dev/hd0 -a 命令删除,这时在查看分区删除后的状态为:

配置分区可以通过两种方式,一种直接输入fdisk /dev/hd0 ,类似于menuconfig,根据提示直接填入参数

还有一种就是通过shell命令配置,QNX启动的时候根据你配置的命令顺序执行就行了,分完区后,通过mkdosfs 格式化后,mount挂在相应的分区就行了。

QNX EMMC 分区相关推荐

  1. MTK 驱动---(9)emmc 分区管理

    1. Partitions Overview eMMC 标准中,将内部的 Flash Memory 划分为 4 类区域,最多可以支持 8 个硬件分区,如下图所示: 1.1 概述 一般情况下,Boot ...

  2. [QNX 自适应分区用户指南]12 APS开发实践

    [QNX 自适应分区用户指南] 目录 该篇是为了总结下aps的常用api的使用方法,用以在运行时查询分区的信息,修改分区的预算或创建一个新的分区:大多数情况下分区的划分已经在启动脚本中配置好,这部分的 ...

  3. emmc存储安装linux,eMMC 分区管理

    eMMC 分区管理 Partitions Overview eMMC 标准中,将内部的 Flash Memory 划分为 4 类区域,最多可以支持 8 个硬件分区,如下图所示: 概述 一般情况下,Bo ...

  4. nxp修改emmc分区大小(BUG和对应的修改)

    文章目录 一.明确修改处(修改又用,但是有bug) 二.bug解决 三.问题总结 官方论坛资料 https://community.nxp.com/t5/i-MX-Processors/How-to- ...

  5. [笔记分享] [eMMC] 内核eMMC分区及对应名字读取

    Chipset: msm8926  OS: Android4.4  Kernel: 3.4.0 在N久之前的会议上留下了两个问题:  1. 内核在加载emmc驱动时是如何知道当前有几个分区的?  2. ...

  6. Android eMMC 分区详解(转载)

    原文链接:http://blog.csdn.net/firefox_1980/article/details/38824143 1. fastboot flash boot boot.img 当使用上 ...

  7. android emmc重新分区,Android eMMC 分区详解

    1. fastboot flash boot boot.img 当使用上述命令写入编译的Image时,fastboot做了些什么?基于那些信息把Image写到哪里呢? Android的每一款产品,都有 ...

  8. 通过emmc分区挂载根文件系统

    跟用NFS挂载根文件系统一样,首先要先有一个根文件系统,或者自己制作一个根文件系统:制作根文件系统连接: https://blog.csdn.net/lornman_q/article/details ...

  9. eMMC之分区管理、总线协议和工作模式【转】

    本文转载自:https://blog.csdn.net/u013686019/article/details/66472291 一.eMMC 简介 eMMC 是 embedded MultiMedia ...

最新文章

  1. HDOJ_ACM_折线分割平面
  2. unit 11 文档练习
  3. 理解JavaScript中的事件
  4. Android自定义组件
  5. 什么时候必须使用UI相机? 多个相机的作用原理?
  6. 【CyberSecurityLearning 47】PHP 数组
  7. 计算机桌面删除,如何删除计算机桌面上的冗余“ IE”浏览器_IT / computer_资料
  8. php与mysql实例教程_mysql实例与连接
  9. 【Elasticsearch】针对初学者的Elasticsearch搜索故障排除
  10. 单体内置对象_单体内置对象
  11. Atitit datatype 数据类型 目录 第一章 三大基本类型 数字 字符串 bool 1 第二章 基本类型vs引用类型 1 字符串类型 2 第三章 符合类型vs 简单类型 2 特殊类型
  12. iOS开发中,实现本地推送
  13. Groovy从入门到精通
  14. APICloud的config.xml应用配置的说明
  15. ASIO Link Pro 声卡跳线(搭配福克斯特solo声卡)
  16. Python爬虫lxml解析实战
  17. Python3-pandas
  18. [poj3130][半平面交]How I Mathematician Wonder What You Are!
  19. Burpsuite字符偏移修正
  20. 我对社交电商的了解与看法

热门文章

  1. 3分钟让你明白JSON是什么
  2. 科目二如何能顺利通过?科目二经验
  3. webbench源码剖析
  4. 什么是算法?如何学习算法?算法入门的学习路径
  5. 乐视网预计前三季经营性持续亏损超14亿 贾跃亭无力还债
  6. Lesson 4 An exciting trip 激动人心的旅行
  7. max3232ese_专业MAX3232ESE品质更好
  8. could not fetch initial value for increment genera
  9. Redistribute
  10. 数据库结构化查询语言的使用(一)