Skip to content
Snippets Groups Projects
Commit 5f014512 authored by Thomas Mittelstädt's avatar Thomas Mittelstädt
Browse files

Some changes for mountimage tool


- If no mount for / (root) at given mount point can be established before mounting a sub partition, a virtual mountpoint
  with small tmpfs (ramdisk) is set up for / (root), so also non hierarchical images without a root partition can be set up.
  This is usable, if partitions of an image are not related to each other. Unmounting the image
  automatically removes the ram disk.
- Some error corrections like logging function instead of echo.
- Some sleep 1 is needed after partprobe, because other tools to get labels and other partitions sometimes
  work on useless info of device.

Signed-off-by: default avatarThomas Mittelstaedt <thomas.mittelstaedt@de.bosch.com>
parent 5a88fa82
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment