I am trying to use fstrim -a in my linux distro, when comes to this a command it says
fstrim: FITRIM: Invalid argument
Then I checked the source code of the busybox fstrim.c
it seems like doest no provide this -a option
How am I able to add linux version of fstrim binary into my rootfs I want to replace it with the one from busybox.
The linux version of fstrim has many header files which I dont have on the target system how am i able to add those dependencies as well such as :
#include "nls.h" #include "strutils.h" #include "c.h" #include "closestream.h" #include "pathnames.h" #include "sysfs.h" #include "exitcodes.h" #include <libmount.h> "