Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lsblk: unknown column: HOTPLUG,SERIAL #52

Closed
NuxRo opened this issue Aug 7, 2019 · 1 comment
Closed

lsblk: unknown column: HOTPLUG,SERIAL #52

NuxRo opened this issue Aug 7, 2019 · 1 comment
Assignees
Labels
bug Something isn't working retrocompatibility wontfix This will not be worked on

Comments

@NuxRo
Copy link

NuxRo commented Aug 7, 2019

Hello,

Just grabbed the latest bootiso script, but when I try to list my usb stick I get the error:
bootiso: Listing USB devices available in your system:
lsblk: unknown column: HOTPLUG,SERIAL
lsblk: unknown column: HOTPLUG,SERIAL

I guess I have an old util-linux (2.23.2, CentOS 7). Any way around it?

@NuxRo NuxRo added the bug Something isn't working label Aug 7, 2019
@jsamr
Copy link
Owner

jsamr commented Aug 7, 2019

@NuxRo You're right. You can apply this patch:

--- a/bootiso
+++ b/bootiso
@@ -692,7 +692,7 @@ initDevicesList() {
 }
 
 listDevicesTable() {
-       typeset lsblkCmd='lsblk -o NAME,MODEL,VENDOR,SIZE,TRAN,HOTPLUG,SERIAL'
+       typeset lsblkCmd='lsblk -o NAME,MODEL,VENDOR,SIZE,TRAN'
        initDevicesList
        if [ "$disableUSBCheck" == 'true' ]; then
                echoinfo "Listing drives available in your system:"

@jsamr jsamr closed this as completed Aug 7, 2019
@jsamr jsamr added retrocompatibility wontfix This will not be worked on labels Apr 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working retrocompatibility wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants