![]() The thing is that sometimes we have file system images and mount
point hierachies which are not aligned. Let's say, we have root
file system image, while partition scheme says that two file
systems should be created on the node: / and /var. In this case
root image has /var directory with a set of files. Obviously, we
need to move all these files from /var directory on the root
file system to /var file system because /var directory will be
used as mount point.
In order to achieve this we mount all existent file systems into
a flat set of temporary directories. We then try to find
specific paths which correspond to mount points and move all
files from these paths to corresponding file systems.
Co-Authored-By: Alexey Stupnikov <astupnikov@mirantis.com>
Change-Id: I1aa7523055ac4bcf6f8a93e9740ccf652ed35cc1
Closes-Bug: #1537699
(cherry picked from commit
|
||
---|---|---|
.. | ||
partition | ||
__init__.py | ||
base.py | ||
bootloader.py | ||
configdrive.py | ||
device.py | ||
image.py | ||
operating_system.py | ||
repo.py |