Skip to main content
11 events
when toggle format what by license comment
Feb 26, 2024 at 13:37 comment added midnite @don_crissti - Oh I see what you mean. It is because I get only the serial number by lsblk -no serial /dev/sda. With or without --nodeps gives the same output.
Feb 26, 2024 at 10:29 history edited don_crissti CC BY-SA 4.0
deleted 24 characters in body
Feb 26, 2024 at 10:27 comment added don_crissti @midnite - why would you not use --nodeps if all you need is the drive serial number?
Feb 26, 2024 at 9:19 comment added midnite May I ask why --nodeps is necessary?
Jan 4, 2023 at 7:52 comment added Flo this also works if you're using software raid, thanks.
Jan 6, 2021 at 0:21 comment added localhost @BenyaminJafari the whole point of a VM is to separate the OS from the host hardware.
Aug 7, 2019 at 12:20 comment added Benyamin Jafari How to retrieve hard disk serial when I use a VM ubuntu? The above commands return nothing on this situation
Nov 15, 2015 at 18:57 history edited don_crissti CC BY-SA 3.0
added 421 characters in body
Jun 3, 2015 at 21:32 comment added Johann Note that this appears to require lsblk from util-linux version 2.24 or higher: github.com/karelzak/util-linux/commit/…
Feb 20, 2015 at 13:55 history edited don_crissti CC BY-SA 3.0
added 165 characters in body
Nov 23, 2014 at 16:32 history answered don_crissti CC BY-SA 3.0