Timeline for List partition labels from the command line
Current License: CC BY-SA 4.0
24 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| S Apr 2 at 13:45 | history | suggested | pseyfert | CC BY-SA 4.0 |
updated list of available columns
|
| Apr 2 at 12:20 | review | Suggested edits | |||
| S Apr 2 at 13:45 | |||||
| Nov 1, 2024 at 17:08 | review | Suggested edits | |||
| Nov 2, 2024 at 17:15 | |||||
| Jan 19, 2024 at 18:48 | comment | added | got trolled too much this week |
Doesn't work for ext2 labels though at least on dmsetup devices. Only shows VFAT and NTFS ones for me on Ubuntu 18 LTS. e2label works, but of course it's specific to that fs. (Don't ask why I tested on that old thing... it's because that's the only supported OS for HDDsuperclone.)
|
|
| S Sep 23, 2023 at 5:20 | history | edited | Vojtech Trefny | CC BY-SA 4.0 |
rm sudo...
|
| S Sep 23, 2023 at 5:20 | history | suggested | Gringo Suave | CC BY-SA 4.0 |
rm sudo...
|
| Sep 22, 2023 at 20:37 | review | Suggested edits | |||
| S Sep 23, 2023 at 5:20 | |||||
| Jul 13, 2022 at 18:46 | comment | added | Brian Cowan | Gave me EXACTLY what I needed to make my external HDD mounts persist across a restart. Depending on the phase of the moon and it's position vis-a-vis Venus, it would show up as sdb, sdg, or anything in between... Since I have 2 migratory external disks, things were always weird and using ls-d /dev/sd* to figure out which was which was annoying. | |
| Nov 11, 2021 at 17:10 | comment | added | J Trana | I needed root to see the LABEL. | |
| Apr 8, 2021 at 10:16 | comment | added | loved.by.Jesus |
Another variant: lsblk -o +label,uuid which lists more information. By the way, @user689893 , I completely agree with @Dirk. I see no difference at all, with or without using sudo with this command (in Ubuntu 16.04.). Consequently, do not use sudo.
|
|
| May 23, 2019 at 12:31 | history | edited | Matthias Braun | CC BY-SA 4.0 |
formatting, phrasing
|
| Aug 2, 2018 at 8:21 | comment | added | Dirk |
sudo is not necessary.
|
|
| S Jul 23, 2018 at 14:13 | history | suggested | João Pimentel Ferreira | CC BY-SA 4.0 |
better understanding which command was run
|
| Jul 23, 2018 at 13:32 | review | Suggested edits | |||
| S Jul 23, 2018 at 14:13 | |||||
| Aug 6, 2016 at 23:11 | comment | added | DrBeco |
Easier to remember: lsblk -fo +size. It will list (or is equivalent to): lsblk -o name,fstype,label,uuid,mountpoint,size
|
|
| Nov 8, 2015 at 11:37 | comment | added | don_crissti |
@user689893 - no, that only happens on debian/ubuntu and derivatives. The point of lsblk is to be used by regular users so no need to su/sudo. Now, if that doesn't work for you, it's because your distro devs prolly missed something.
|
|
| Mar 4, 2015 at 14:05 | history | edited | rubo77 | CC BY-SA 3.0 |
added 5 characters in body
|
| Aug 27, 2014 at 16:52 | comment | added | LeoR |
or easier to remember lsblk -f which is equivalent to lsblk -o NAME,FSTYPE,LABEL,MOUNTPOINT
|
|
| Jul 30, 2014 at 15:02 | comment | added | Mikhail Morfikov | Yes. As you can see sdb1 and sdb3 aren't mounted. | |
| Jul 29, 2014 at 7:26 | comment | added | Ravi | Will it show unmounted partitions also? If yes then it solves the question asked. | |
| Jul 4, 2014 at 7:55 | comment | added | user689893 | Thanks for showing me this tool! Note, this application works for regular users, but will show some info (including labels) only as root. | |
| S Jun 3, 2014 at 16:19 | history | suggested | Cristian Ciupitu | CC BY-SA 3.0 |
added link to documentation
|
| Jun 3, 2014 at 16:15 | review | Suggested edits | |||
| S Jun 3, 2014 at 16:19 | |||||
| Jan 12, 2014 at 6:37 | history | answered | Mikhail Morfikov | CC BY-SA 3.0 |