当前位置: 首页 > news >正文

可以做商品砍价的网站网站建设的公司上海

可以做商品砍价的网站,网站建设的公司上海,武进网站建设咨询,昆明专业网站制作公司Yocto/OpenEmbedded使用的磁盘镜像格式是 wic。为嵌入式系统提供 bootable images。 The disk image format used in the Yocto Project is wic. .wic 文件显然只是一个带有分区表和分区的磁盘镜像#xff0c;就像下载 Linux 发行版时获得的所有 .img 文件一样。这就是为什么你… Yocto/OpenEmbedded使用的磁盘镜像格式是 wic。为嵌入式系统提供 bootable images。 The disk image format used in the Yocto Project is wic. .wic 文件显然只是一个带有分区表和分区的磁盘镜像就像下载 Linux 发行版时获得的所有 .img 文件一样。这就是为什么你可以使用 dd 命令烧写 .wic 文件就像使用 .img 文件一样。 A .wic file is apparently just a disk image with a partition table and partitions, just like all the .img files you get when downloading e.g Linux distros. Thats why you can flash a .wic file using dd just like you would with a .img file. 之所以使用 .wic 文件扩展名是因为它是由 wic 工具创建的该工具读取 .wks 文件中描述的分区布局并生成带有相应分区的映像。有关 wic 工具的更多信息请参阅 19 Creating Partitioned Images Using Wic — The Yocto Project ® 5.0.1 documentation The reason for the .wic file extension is simply that its created by the wic tool, which reads a partition layout described in a .wks file and generates an image with the corresponding partitions. For more info on the wic tool, see:  19 Creating Partitioned Images Using Wic — The Yocto Project ® 5.0.1 documentation  如何读取wic文件中的内容呢 1Mount the .wic File 将wic文件加载为loop device。 Automatically find an available loop device and associate it with a file. $ sudo losetup -Pf --show my-image.wic /dev/loop17 $ losetup --help -a, --all                     list all used devices -P, --partscan                create a partitioned loop device -f, --find                    find first unused device --show                    print device name after setup (with -f) -d, --detach loopdev...     detach one or more devices -D, --detach-all              detach all used devices $ losetup -a 上面结果显示加载为/dev/loop17设备。 将设备名赋值给变量 LOOP_DEVICE$(sudo losetup -Pf --show my-image.wic) 2, List Partitions 使用fdisk命令查看加载设备的分区信息 $ sudo fdisk -l /dev/loop17 Disk /dev/loop17: 7.11 GiB, 7638816768 bytes, 14919564 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: 0x076c4a2a Device        Boot  Start      End  Sectors  Size Id Type /dev/loop17p1 *     16384   186775   170392 83.2M  c W95 FAT32 (LBA) /dev/loop17p2      196608 14919563 14722956    7G 83 Linux 3Mount Partitions sudo mount  /dev/loop17p1 mnt 4Access Files cd mnt ls 5, Cleaning up Unmount partitions: sudo umount mnt 6, Detach the loop device sudo losetup -d /dev/loop17 使用kpartx命令操作 $ kpartx --help -a add partition devmappings -d del partition devmappings -v verbose -l list partitions devmappings that would be added by -a $ sudo kpartx -av my-image.wic [sudo] password for dev: add map loop17p1 (252:0): 0 170392 linear 7:17 16384 add map loop17p2 (252:1): 0 14722956 linear 7:17 196608 $ sudo kpartx -l my-image.wic loop17p1 : 0 170392 /dev/loop17 16384 loop17p2 : 0 14722956 /dev/loop17 196608 $ sudo kpartx -l /dev/loop17 loop17p1 : 0 170392 /dev/loop17 16384 loop17p2 : 0 14722956 /dev/loop17 196608 $ sudo fdisk -l /dev/loop17 Disk /dev/loop17: 7.11 GiB, 7638816768 bytes, 14919564 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: 0x076c4a2a Device        Boot  Start      End  Sectors  Size Id Type /dev/loop17p1 *     16384   186775   170392 83.2M  c W95 FAT32 (LBA) /dev/loop17p2      196608 14919563 14722956    7G 83 Linux $ ls /dev/mapper/ control  loop17p1  loop17p2 $ sudo mount /dev/mapper/loop17p2 mnt $ sudo umount mnt $ sudo kpartx -dv my-image.wic del devmap : loop17p1 del devmap : loop17p2 loop deleted : /dev/loop17 $ sudo kpartx -dv /dev/loop17 del devmap : loop17p1 del devmap : loop17p2 参考 linux - Difference between wic and hddimg format in yocto - Stack Overflow
http://www.hkea.cn/news/14463018/

相关文章:

  • 郑州直播网站建设公司网站开发竞争性谈判
  • 成都电子商务平台网站制作报价旅游网站的后台管理系统怎么做
  • 代做网站名称优化wordpress 上传漏洞
  • 国外网站大牛不懂英语可以做吗wordpress弹窗登入
  • 福建省 园区网互联及网站建设 网络部分题目标书制作教程
  • wordpress两侧有空白夫唯老师seo
  • 建站宝盒里的手机网站用猴子做标志起网站名叫什么好
  • 北京网站建设w亿玛酷1订制wordpress html地图
  • 东莞微信网站建设报价做做网站需要多少钱
  • 网站建设的项目描述企业管理培训课程名称
  • 企业品牌网站建设定制开发广西网站建设设计
  • 宁波高端网站建设推广北京快速建站模板
  • 免费云服务器网站有哪些嘉峪关市建设局建管科资质网站
  • 网站建设的出路wordpress加载js代码
  • 保健品网站设计机构wordpress免费主题库
  • 最快网站备案可以免费发布信息的网站有哪些
  • phpcms v9 网站建设设计制作网络科技模板网站开发学习课程
  • 东莞网站建设地点优化深圳罗湖企业网站建设报价
  • 南京网站排名网站建站是什么
  • 网站推广论坛wordpress authentication key
  • vultr 做网站空间优化设计英语
  • 国内网站有哪些wordpress茶叶模板
  • 网站开发机构wordpress会话已过期
  • 网站服务器物理地址怎么查泰兴做网站
  • 中国建设银行安徽分行网站自适应网站做1920的
  • 做网站开发的女生多吗互联网行业特点
  • 绍兴企业网站推广东莞免费企业网站模板推广
  • 如何做微信朋友圈网站wordpress plugin
  • 淘宝客不建立网站怎么做三维网站搭建教程
  • 微信网站是什么意思北京免费发布企业信息网站