Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bin/rsync-rootfs: allow use pre-mounted point directly
In initramfs case(/osimage/initramfs/initramfs.cgz), we observed that kernel will crash when mount dev to a 2 levels directory.(/level-1/level-2). below example will crash the kernel in initramfs: $ mount -t btrfs /dev/sda1 /opt/rootfs with this patch, initramfs can pass a pre-mounted point to this tool to avoid kernel crashing Signed-off-by: Li Zhijian <[email protected]> Signed-off-by: Philip Li <[email protected]>
- Loading branch information