devices/loopback: make setting sector_size meaningful
For the org.osbuild.loopback the user can set the sector size, but it had no effect on the underlying loopback device. Let's make it meaningful by passing along the given value to the underlying code.
This commit is contained in:
parent
677a874115
commit
0770eb0090
2 changed files with 5 additions and 4 deletions
|
|
@ -82,6 +82,7 @@ class LoopbackService(devices.DeviceService):
|
|||
setup=self.setup_loop,
|
||||
offset=offset,
|
||||
sizelimit=sizelimit,
|
||||
blocksize=self.sector_size,
|
||||
partscan=False,
|
||||
autoclear=True)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue