a8b84e8b7f
Long story short, we need to rescan after making
partition changes.
Without forcing a filesystem sync and rescan operation,
we rely upon lazy write-out from buffers to the block
device when operating with a ramdisk.
This is because ramfs does NOT actually operate with fsync
where as GNU parted utilizes fsync on the device in an
attempt to force the write to disk to occur. This is fine
if your booted with devfs, or say even a physical block
device that backs /dev, just not ramfs.
Change-Id: I66481d5f3c17a489f7bdf0af82e31b9107605968
Story: 2006423
Task: 36316
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
base.py | ||
test_base.py | ||
test_disk_partitioner.py | ||
test_disk_utils.py | ||
test_metrics.py | ||
test_metrics_statsd.py | ||
test_metrics_utils.py | ||
test_utils.py |