Questions tagged [lsblk]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
5
votes
1answer
781 views

Why is usb-drive not visible with `lsblk` after having been ejected from Thunar?

If I put a USB-drive in, it will automount. I can see it with lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sdb 8:16 1 7,5G 0 disk └─sdb1 8:17 1 7,5G 0 part /media/user/usb-...
3
votes
1answer
193 views

How to set a disk's (not partition) LABEL?

I've been searching around, and can't find a clear answer, or I find that the answer is 'no' when my system shows me otherwise. I'm running Arch Linux, and while attaching new HDD into a zfs pool I ...
6
votes
4answers
855 views

How to capture all disks that don’t have a file system

I want to capture all disks that do not have a filesystem ( all disks that mkfs not runs on them ) I tried the below, but still gives the OS ( sda ). What is the best approach with lsblk or other ...
-1
votes
2answers
82 views

Linux + how to capture the OS disk device [closed]

we want to capture the disk device that belong to the OS ( Linux ) since each linux machine have list of disks that are not the OS , we want to capture the disk that belong to the OS so by fdisk ...