Show full device paths
This commit is contained in:
parent
c8944e5a14
commit
af757c5582
1 changed files with 3 additions and 3 deletions
|
|
@ -265,14 +265,14 @@ def show_selections(args, sources, ufd_dev, ufd_sources):
|
||||||
# Destination
|
# Destination
|
||||||
print_info('Destination')
|
print_info('Destination')
|
||||||
cmd = [
|
cmd = [
|
||||||
'lsblk', '--nodeps', '--noheadings',
|
'lsblk', '--nodeps', '--noheadings', '--paths',
|
||||||
'--output', 'NAME,TRAN,SIZE,VENDOR,MODEL,SERIAL',
|
'--output', 'NAME,FSTYPE,TRAN,SIZE,VENDOR,MODEL,SERIAL',
|
||||||
ufd_dev,
|
ufd_dev,
|
||||||
]
|
]
|
||||||
result = run_program(cmd, check=False, encoding='utf-8', errors='ignore')
|
result = run_program(cmd, check=False, encoding='utf-8', errors='ignore')
|
||||||
print_standard(result.stdout.strip())
|
print_standard(result.stdout.strip())
|
||||||
cmd = [
|
cmd = [
|
||||||
'lsblk', '--noheadings',
|
'lsblk', '--noheadings', '--paths',
|
||||||
'--output', 'NAME,SIZE,FSTYPE,LABEL,MOUNTPOINT',
|
'--output', 'NAME,SIZE,FSTYPE,LABEL,MOUNTPOINT',
|
||||||
ufd_dev,
|
ufd_dev,
|
||||||
]
|
]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue