diff --git a/src/lib/udev/google_nvme_id b/src/lib/udev/google_nvme_id index fc4b047..56a2d23 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" | cut -b 384-)" if [[ $? -ne 0 ]]; then return 1 fi