Hmm... It works, but the output's a bit ugly. This is a bit better (-l / --list): lsblk -l | grep <mountpoint> Also, there can be multiple matches, especially if you want the partition of / I'd change the grep to be more specific: lsblk -l | grep " <mountpoint>$" (That's space, mountpoint, dollar). Finally, if you wanted to find the partition name and nothing else, you could add 'cut': lsblk -l |