Why I can't use lsblk? _________ Steps to Reproduce. I build Buildroot from git git clone git://git.buildroot.net/buildroot make clean -C buildroot make -C buildroot qemu_x86_defconfig make -C buildroot I run buildroot/output/images/start-qemu.sh 0) Actual Results. I try to use lsblk command via console # lsblk -sh: lsblk: not found Expected Results. lsblk should be found in my system! 1) lsusb works (return nothing) 2) # fdisk -l Disk /dev/vda: 60 MB, 62914560 bytes, 122880 sectors 121 cylinders, 16 heads, 63 sectors/track Units: sectors of 1 * 512 = 512 bytes Disk /dev/vda doesn't contain a valid partition table 3) file buildroot/output/build/linux-5.15.18/.config contains # CONFIG_SYSFS_DEPRECATED is not set CONFIG_SYSFS_SYSCALL=y CONFIG_SYSFS=y 4) # uname -a Linux buildroot 5.15.18 #1 SMP Fri Jan 6 19:29:11 KST 2023 i686 GNU/Linux
> Why I can't use lsblk? Because you didn't enable it? lsblk comes from util-linux, so you need to enable BR2_PACKAGE_UTIL_LINUX_BINARIES to include it. lsusb is offered by busybox, which is the reason why you have it "automatically".