mirror of https://git.48k.eu/ogclient
live: enable details for libfdisk context object
Enables details in libfidsk context constructor call. Ensures size are displayed as bytes (and not as a human readable string). Avoids further arithmetical errors (e.g: converting from bytes to KB)more_events v1.2.1
parent
c159c76294
commit
1b5281c2a1
|
@ -332,7 +332,7 @@ class OgLiveOperations:
|
||||||
logging.debug('refresh: processing %s', disk)
|
logging.debug('refresh: processing %s', disk)
|
||||||
part_setup = {}
|
part_setup = {}
|
||||||
try:
|
try:
|
||||||
cxt = fdisk.Context(device=f'/dev/{disk}')
|
cxt = fdisk.Context(device=f'/dev/{disk}', details=True)
|
||||||
except:
|
except:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue