[git commit] blkdiscard: ship link to /sbin instead of /usr/bin

Denys Vlasenko vda.linux at googlemail.com
Mon Oct 12 10:34:42 UTC 2026


commit: https://git.busybox.net/busybox/commit/?id=30a8277fa097444948aea54b71d4c0f66d377f62
branch: https://git.busybox.net/busybox/log/?h=master

util-linux ships blkdiscard in /sbin, so follow what it does.

Link: https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/tree/sys-utils/Makemodule.am?id=5a75fb2b9e384c61a4b2afd13fe9bba219d5bd93#n194
Signed-off-by: Lauri Tirkkonen <lauri at hacktheplanet.fi>
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 util-linux/blkdiscard.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/util-linux/blkdiscard.c b/util-linux/blkdiscard.c
index 38c563b1a..eddf728a6 100644
--- a/util-linux/blkdiscard.c
+++ b/util-linux/blkdiscard.c
@@ -11,7 +11,7 @@
 //config:	help
 //config:	blkdiscard discards sectors on a given device.
 
-//applet:IF_BLKDISCARD(APPLET_NOEXEC(blkdiscard, blkdiscard, BB_DIR_USR_BIN, BB_SUID_DROP, blkdiscard))
+//applet:IF_BLKDISCARD(APPLET_NOEXEC(blkdiscard, blkdiscard, BB_DIR_SBIN, BB_SUID_DROP, blkdiscard))
 
 //kbuild:lib-$(CONFIG_BLKDISCARD) += blkdiscard.o
 


More information about the busybox-cvs mailing list