diff --git a/src/lib/udev/google_nvme_id b/src/lib/udev/google_nvme_id index fc4b047..f53e535 100755 --- a/src/lib/udev/google_nvme_id +++ b/src/lib/udev/google_nvme_id @@ -58,7 +58,7 @@ function err() { ####################################### function get_namespace_device_name() { local nvme_json - nvme_json="$("$nvme_cli_bin" id-ns -b "$1" | xxd -p -seek 384 | xxd -p -r)" + nvme_json="$("$nvme_cli_bin" id-ns -b "$1" | dd bs=1 skip=384 2>/dev/null | od -x)" if [[ $? -ne 0 ]]; then return 1 fi