#include "lib/misc/lib.h"
#include "lib/commands/toolcontext.h"
#include "lib/device/device.h"
-#include "lib/device/device_id.h"
#include "lib/device/online.h"
#include <dirent.h>
#include "lib/label/hints.h"
#include "lib/device/dev-type.h"
#include "lib/device/device_id.h"
-#include "lib/device/online.h"
#include <sys/stat.h>
#include <fcntl.h>
#include <errno.h>
#include <fcntl.h> /* help musl C */
#include <pthread.h>
-#include <sys/file.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include <sys/time.h>
#include "libdm/misc/dm-ioctl.h"
#include <stdarg.h>
-#include <sys/param.h>
#include <sys/utsname.h>
#define MAX_TARGET_PARAMSIZE 500000