linux - Create multiple SquashFS partitions -


I am working on embedded platforms (Broadcom's BCM5358U proprietor MIP Core), where I'm looking for further purpose Additional partitioning required The upgrade process is the filesystem squashFS used, so I have modified 'struct mtd_partition' accordingly, which has passed the MTD related code, and I ended up with:

  #cat / proc / partitions prim B minor # block name - 31 0 128 mtdblock0 - 31 0 128 mtdblock0 - 31 1 6016 mtdblock1 - 31 2 4573 mtdblock2 - 31 3 6016 mtdblock3 - 31 4 4445 mtdblock4 - 31 5 4160 mtdblock5 - 31 6 64 Multiblock 6  

Now I want to be able to mount / dev / mtdblock4 as a temporary repository during system upgrades, but I can not do this because it seems that this split mtdblock4 does not have any FS Not installed. The kernel image and FS are integrated into an image, which is attached below / dev / mtdblock2 (which is provided as root_fs for the kernel).

I only see one solution: to create an empty squash image, write it is on / dev / mtdblock4 and maybe it will work as I want (?) Is there any way Like, do format the partition on the fly, whenever the kernel boots, or does it violate the MTD conceptions?

Thanks

Is there any reason that you do not have a new FS mount on the fly? Can you make it?

You definitely do not want an empty squashfs image. If you want temporary writeable storage then you can use something like volume. If you need to support a system reboot, you can use JFFS on a raw flash device. You should be able to format / mount MTD devices like any other block device.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -