Skip to content

Instantly share code, notes, and snippets.

@illiliti
illiliti / modprobe-kernel-version.patch
Created March 30, 2020 17:11
add -S option to busybox modprobe
diff --git a/modutils/modprobe.c b/modutils/modprobe.c
index 0a372a049..ecb29a8fd 100644
--- a/modutils/modprobe.c
+++ b/modutils/modprobe.c
@@ -111,7 +111,7 @@
//usage: " from the command line\n"
//usage:
//usage:#define modprobe_trivial_usage
-//usage: "[-alrqvsD" IF_FEATURE_MODPROBE_BLACKLIST("b") "]"
+//usage: "[-alrqvsD" IF_FEATURE_MODPROBE_BLACKLIST("b") "]" " [-S VERSION]"
@illiliti
illiliti / fix-mount.patch
Created March 30, 2020 00:27
fix ubase mount -o move
diff --git a/mount.c b/mount.c
index e3d00b8..172fd05 100644
--- a/mount.c
+++ b/mount.c
@@ -36,6 +36,7 @@ struct {
{ "mand", "nomand", MS_MANDLOCK },
{ "relatime", "norelatime", MS_RELATIME },
{ "bind", NULL, MS_BIND },
+ { "move", NULL, MS_MOVE },
{ NULL, NULL, 0 }