Some changes for mountimage tool
All threads resolved!
All threads resolved!
- 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: Thomas Mittelstaedt thomas.mittelstaedt@de.bosch.com
Merge request reports
Activity
Filter activity
requested review from @wlozano
assigned to @mtt2hi
- Resolved by Walter Lozano
Changes overall look OK to me. However, it looks like you are including several changes in the same commit "Some changes for mountimage tool". It is recommended to split these changes in different commit, in order to have a cleaner history, and keep better track of the changes.
Please create separate commits for the three different type of changes you are proposing.
added 5 commits
- 6d17c75d - Some error corrections like logging function instead of echo
- 1d048305 - Profiles can now keep comment lines and commented entries with #
- 7f3e184d - A small sleep after partprobe is needed, because otherwhise
- 0c1ed160 - Mounting of images without an hierarchical partition structure and a defined / implemented.
- fd2531e6 - Release apertis-dev-tools version 0.2023.7
Toggle commit list- Resolved by Thomas Mittelstädt
- Resolved by Walter Lozano
added 6 commits
- fc59c403 - Some error corrections like logging function instead of echo
- 2f97a519 - In case of a partition number at the profile only an existing partition can be mounted.
- 88aa1656 - Profiles can now keep comment lines and commented entries with #
- 79c283ec - Partprobe rereads disk structures to the kernel. After returning to caller the...
- dc8a32cf - Mounting of images without an hierarchical partition structure and a defined / implemented.
- 5cbdcf66 - Release apertis-dev-tools version 0.2023.7
Toggle commit listI have found a problem at new feature "Mounting of images without an hierarchical partition structure and a defined / implemented." and integrated at !61 (48a917b7)
Please register or sign in to reply