嵌入式Linux系统存储设备与文件系统全解析
1. 存储设备分区与操作
在嵌入式Linux系统中,磁盘设备的操作与常规Linux工作站或服务器有相似之处,但也存在差异。下面将介绍不同存储设备的分区和操作方法。
1.1 磁盘分区示例
以 /dev/nftla 磁盘为例,其分区信息如下:
Disk /dev/nftla: 16 heads, 4 sectors, 1018 cylinders
Units = cylinders of 64 * 512 bytes
Device Boot Start End Blocks Id System
/dev/nftla1 1 1018 32574 83 Linux
使用 fdisk 工具对分区进行操作,操作完成后使用 w 命令保存分区表:
Command (m for help): w
The partition table has been altered!
Calling ioctl( ) to re-read partition table.
WARNING: If you have created or modified any DOS 6.x
partitions, please see the fdisk manual page fo
超级会员免费看
订阅专栏 解锁全文

被折叠的 条评论
为什么被折叠?



