J'ai la commande udevadm info --query=all -n /dev/sda
il imprime toutes les informations mais je dois juste imprimer la valeur de ID_SERIAL_SHORT. Le meilleur est one-liner pour cela.
Une idée de comment obtenir seulement ID_SERIAL_SHORT?
We use cookies and other tracking technologies to improve your browsing experience on our website,
to show you personalized content and targeted ads, to analyze our website traffic,
and to understand where our visitors are coming from.
By continuing, you consent to our use of cookies and other tracking technologies and
affirm you're at least 16 years old or have consent from a parent or guardian.