DM920 and unionfs ?!

  • Hello guys ..
    I have some problem in some of my multiboot (mount) plugin ..
    Before on my old boxes (800 and 800se) I was use (kernel-module-unionfs) to mount folders as like this command


    Code
    out.write('mount -t unionfs -o dirs=%s:/usr=ro none /usr > /tmp/jump.tmp\n' % path2)


    But as we know on new kernel of DM920 there is no more (kernel-module-unionfs).
    So I found on some VU+ 4K images this command

    Code
    out.write('mount -t overlay overlay -o lowerdir=/usr,upperdir=%s,workdir=%s /usr > /tmp/jump.tmp\n' % (path2, pathw))

    I have try also but mount doesn't work correctly ...
    Do I have to install any extra package or some things else ?!
    Any idea ?!


    Thank you

  • Starting with linux kernel version 3.18 the source code for overlayfs is included in the kernel sources.
    DM9x0 is using an older kernel, 3.14.


    A backport to 3.14 should be done, to create a overlayfs kernel module.
    This module must be installed.
    The kernel module must be loaded using modprobe por insmod.


    Then the mount would work.