diff --git a/config.guess b/config.guess new file mode 120000 index 00000000..7c531735 --- /dev/null +++ b/config.guess @@ -0,0 +1 @@ +/usr/share/automake-1.16/config.guess \ No newline at end of file diff --git a/config.sub b/config.sub new file mode 120000 index 00000000..250e6154 --- /dev/null +++ b/config.sub @@ -0,0 +1 @@ +/usr/share/automake-1.16/config.sub \ No newline at end of file diff --git a/configure.ac~ b/configure.ac~ new file mode 100644 index 00000000..558d3981 --- /dev/null +++ b/configure.ac~ @@ -0,0 +1,85 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +AC_PREREQ([2.64]) +AC_INIT([nwipe], [0.34], [git@brumit.nl]) +AM_INIT_AUTOMAKE(foreign subdir-objects) +AC_OUTPUT(Makefile src/Makefile man/Makefile) +AC_CONFIG_SRCDIR([src/nwipe.c]) +AC_CONFIG_HEADERS([config.h]) + +# Checks for programs. +AC_PROG_CC +PKG_PROG_PKG_CONFIG + +# Checks for libraries. + +PKG_CHECK_MODULES( + [PANEL], + [panel], + [ + CFLAGS="${CFLAGS} ${PANEL_CFLAGS}" + LIBS="${LIBS} ${PANEL_LIBS}" + ], + [AC_CHECK_LIB([panel], [main], [ + LIBS="-lpanel $LIBS" + AC_CHECK_HEADERS(panel.h,, [ + AC_CHECK_HEADERS(ncurses/panel.h, [ + AC_DEFINE([PANEL_IN_SUBDIR], [ncurses/], [Look for ncurses headers in subdir]) + ], [AC_MSG_ERROR([ncurses panel headers not found])]) + ]) + ], [AC_MSG_ERROR([ncurses panel library not found])])] +) + +PKG_CHECK_MODULES( + [NCURSES], + [ncurses], + [ + CFLAGS="${CFLAGS} ${NCURSES_CFLAGS}" + LIBS="${LIBS} ${NCURSES_LIBS}" + ], + [AC_CHECK_LIB([ncurses], [delscreen], [ + LIBS="-lncurses $LIBS" + AC_CHECK_HEADERS(ncurses.h,, [ + AC_CHECK_HEADERS(ncurses/ncurses.h, [ + AC_DEFINE([NCURSES_IN_SUBDIR], [ncurses/], [Look for ncurses headers in subdir]) + ], [AC_MSG_ERROR([ncurses headers not found])]) + ]) + ], [AC_MSG_ERROR([ncurses development library not found])] + )] +) + +PKG_CHECK_MODULES( + [LIBCONFIG], + [libconfig], + [ + CFLAGS="${CFLAGS} ${LIBCONFIG_CFLAGS}" + LIBS="${LIBS} ${LIBCONFIG_LIBS}" + ], + [AC_CHECK_LIB([libconfig], [main], [ + LIBS="-llibconfig $LIBS" + AC_CHECK_HEADERS(libconfig.h,, [ + AC_CHECK_HEADERS(libconfig.h, [ + AC_DEFINE([LIBCONFIG_IN_SUBDIR], [libconfig/], [Look for libconfig headers in subdir]) + ], [AC_MSG_ERROR([libconfig headers not found])]) + ]) + ], [AC_MSG_ERROR([libconfig library not found])])] +) + +AC_CHECK_LIB([intl], [libintl_dgettext]) # needed to statically link libparted, but not given in its pkgconfig file +AC_CHECK_LIB([uuid], [uuid_generate]) # needed to statically link libparted, but not given in its pkgconfig file +PKG_CHECK_MODULES([PARTED], [libparted], [libconfig]) +AC_CHECK_LIB([pthread], [main], ,[AC_MSG_ERROR([pthread development library not found])]) + +# Checks for header files. +AC_CHECK_HEADERS([libconfig.h fcntl.h inttypes.h netinet/in.h stddef.h stdint.h stdlib.h string.h sys/file.h sys/ioctl.h unistd.h]) + +# Checks for typedefs, structures, and compiler characteristics. +AC_TYPE_SIZE_T +AC_CHECK_MEMBERS([struct stat.st_blksize]) + +# Checks for library functions. +AC_FUNC_MALLOC +AC_CHECK_FUNCS([fdatasync memset regcomp strdup strerror]) + +AC_OUTPUT diff --git a/nwipe_report_2023-10-02-00-19-54_Model_HP_MM1000FBFVR_Serial_9XGA0RTV0000C6252V9L.pdf b/nwipe_report_2023-10-02-00-19-54_Model_HP_MM1000FBFVR_Serial_9XGA0RTV0000C6252V9L.pdf new file mode 100644 index 00000000..f5f0f32a Binary files /dev/null and b/nwipe_report_2023-10-02-00-19-54_Model_HP_MM1000FBFVR_Serial_9XGA0RTV0000C6252V9L.pdf differ diff --git a/nwipe_report_2023-10-02-00-19-57_Model_HP_MM1000FBFVR_Serial_9XG9ZA920000C6351QCD.pdf b/nwipe_report_2023-10-02-00-19-57_Model_HP_MM1000FBFVR_Serial_9XG9ZA920000C6351QCD.pdf new file mode 100644 index 00000000..1da50ba6 Binary files /dev/null and b/nwipe_report_2023-10-02-00-19-57_Model_HP_MM1000FBFVR_Serial_9XG9ZA920000C6351QCD.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-00_Model_HP_MM1000FBFVR_Serial_9XGA0GLK0000C6347EAF.pdf b/nwipe_report_2023-10-02-00-20-00_Model_HP_MM1000FBFVR_Serial_9XGA0GLK0000C6347EAF.pdf new file mode 100644 index 00000000..d4dd81c1 Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-00_Model_HP_MM1000FBFVR_Serial_9XGA0GLK0000C6347EAF.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-02_Model_HP_MM1000FBFVR_Serial_9XGA0PS50000C6350JK0.pdf b/nwipe_report_2023-10-02-00-20-02_Model_HP_MM1000FBFVR_Serial_9XGA0PS50000C6350JK0.pdf new file mode 100644 index 00000000..37db8a14 Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-02_Model_HP_MM1000FBFVR_Serial_9XGA0PS50000C6350JK0.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-05_Model_HP_MM1000FBFVR_Serial_9XGA0RF80000C614099X.pdf b/nwipe_report_2023-10-02-00-20-05_Model_HP_MM1000FBFVR_Serial_9XGA0RF80000C614099X.pdf new file mode 100644 index 00000000..acbea2f5 Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-05_Model_HP_MM1000FBFVR_Serial_9XGA0RF80000C614099X.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-08_Model_HP_MM1000FBFVR_Serial_9XGA0GH70000C6347ECP.pdf b/nwipe_report_2023-10-02-00-20-08_Model_HP_MM1000FBFVR_Serial_9XGA0GH70000C6347ECP.pdf new file mode 100644 index 00000000..9ea2816d Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-08_Model_HP_MM1000FBFVR_Serial_9XGA0GH70000C6347ECP.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-10_Model_HP_MM1000FBFVR_Serial_9XGA0A2M0000C6351LUJ.pdf b/nwipe_report_2023-10-02-00-20-10_Model_HP_MM1000FBFVR_Serial_9XGA0A2M0000C6351LUJ.pdf new file mode 100644 index 00000000..9592ece9 Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-10_Model_HP_MM1000FBFVR_Serial_9XGA0A2M0000C6351LUJ.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-13_Model_HP_MM1000FBFVR_Serial_9XGA0HCP0000C6347CJJ.pdf b/nwipe_report_2023-10-02-00-20-13_Model_HP_MM1000FBFVR_Serial_9XGA0HCP0000C6347CJJ.pdf new file mode 100644 index 00000000..11210220 Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-13_Model_HP_MM1000FBFVR_Serial_9XGA0HCP0000C6347CJJ.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-16_Model_HP_MM1000FBFVR_Serial_9XGA0GSL0000C6347CN0.pdf b/nwipe_report_2023-10-02-00-20-16_Model_HP_MM1000FBFVR_Serial_9XGA0GSL0000C6347CN0.pdf new file mode 100644 index 00000000..cd9b9578 Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-16_Model_HP_MM1000FBFVR_Serial_9XGA0GSL0000C6347CN0.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-18_Model_HP_MM1000FBFVR_Serial_9XGA0H9S0000C6350FK4.pdf b/nwipe_report_2023-10-02-00-20-18_Model_HP_MM1000FBFVR_Serial_9XGA0H9S0000C6350FK4.pdf new file mode 100644 index 00000000..98638397 Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-18_Model_HP_MM1000FBFVR_Serial_9XGA0H9S0000C6350FK4.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-21_Model_HP_MM1000FBFVR_Serial_9XGA0PBQ0000C6384HPL.pdf b/nwipe_report_2023-10-02-00-20-21_Model_HP_MM1000FBFVR_Serial_9XGA0PBQ0000C6384HPL.pdf new file mode 100644 index 00000000..82f32953 Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-21_Model_HP_MM1000FBFVR_Serial_9XGA0PBQ0000C6384HPL.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-21_Model_ST1000NX0423_Serial_S470PJHZ.pdf b/nwipe_report_2023-10-02-00-20-21_Model_ST1000NX0423_Serial_S470PJHZ.pdf new file mode 100644 index 00000000..5cd3fd01 Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-21_Model_ST1000NX0423_Serial_S470PJHZ.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-24_Model_HP_MM1000FBFVR_Serial_9XG9WDX40000C6188QHA.pdf b/nwipe_report_2023-10-02-00-20-24_Model_HP_MM1000FBFVR_Serial_9XG9WDX40000C6188QHA.pdf new file mode 100644 index 00000000..7c2e3590 Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-24_Model_HP_MM1000FBFVR_Serial_9XG9WDX40000C6188QHA.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-24_Model_ST1000NX0423_Serial_S470PJRJ.pdf b/nwipe_report_2023-10-02-00-20-24_Model_ST1000NX0423_Serial_S470PJRJ.pdf new file mode 100644 index 00000000..69047c02 Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-24_Model_ST1000NX0423_Serial_S470PJRJ.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-27_Model_HP_MM1000FBFVR_Serial_9XGA0HK10000C6347DT5.pdf b/nwipe_report_2023-10-02-00-20-27_Model_HP_MM1000FBFVR_Serial_9XGA0HK10000C6347DT5.pdf new file mode 100644 index 00000000..ed2f6548 Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-27_Model_HP_MM1000FBFVR_Serial_9XGA0HK10000C6347DT5.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-30_Model_HP_MM1000FBFVR_Serial_9XGA0HDD0000C6347CLY.pdf b/nwipe_report_2023-10-02-00-20-30_Model_HP_MM1000FBFVR_Serial_9XGA0HDD0000C6347CLY.pdf new file mode 100644 index 00000000..67ede25f Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-30_Model_HP_MM1000FBFVR_Serial_9XGA0HDD0000C6347CLY.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-32_Model_HP_MM1000FBFVR_Serial_9XGA0GYH0000C6347EYC.pdf b/nwipe_report_2023-10-02-00-20-32_Model_HP_MM1000FBFVR_Serial_9XGA0GYH0000C6347EYC.pdf new file mode 100644 index 00000000..5b58cd7a Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-32_Model_HP_MM1000FBFVR_Serial_9XGA0GYH0000C6347EYC.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-35_Model_HP_MM1000FBFVR_Serial_9XGA0H5Y0000C6347D9K.pdf b/nwipe_report_2023-10-02-00-20-35_Model_HP_MM1000FBFVR_Serial_9XGA0H5Y0000C6347D9K.pdf new file mode 100644 index 00000000..20d78afe Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-35_Model_HP_MM1000FBFVR_Serial_9XGA0H5Y0000C6347D9K.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-38_Model_HP_MM1000FBFVR_Serial_9XGA0HGF0000C6347CLC.pdf b/nwipe_report_2023-10-02-00-20-38_Model_HP_MM1000FBFVR_Serial_9XGA0HGF0000C6347CLC.pdf new file mode 100644 index 00000000..b7c0ba11 Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-38_Model_HP_MM1000FBFVR_Serial_9XGA0HGF0000C6347CLC.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-40_Model_HP_MM1000FBFVR_Serial_9XGA0GWD0000C6347ENJ.pdf b/nwipe_report_2023-10-02-00-20-40_Model_HP_MM1000FBFVR_Serial_9XGA0GWD0000C6347ENJ.pdf new file mode 100644 index 00000000..e5437682 Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-40_Model_HP_MM1000FBFVR_Serial_9XGA0GWD0000C6347ENJ.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-43_Model_HP_MM1000FBFVR_Serial_9XGA0G9Z0000C6347C1S.pdf b/nwipe_report_2023-10-02-00-20-43_Model_HP_MM1000FBFVR_Serial_9XGA0G9Z0000C6347C1S.pdf new file mode 100644 index 00000000..e56cbbbf Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-43_Model_HP_MM1000FBFVR_Serial_9XGA0G9Z0000C6347C1S.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-46_Model_HP_MM1000FBFVR_Serial_9XGA0GVE0000C6347CN6.pdf b/nwipe_report_2023-10-02-00-20-46_Model_HP_MM1000FBFVR_Serial_9XGA0GVE0000C6347CN6.pdf new file mode 100644 index 00000000..ac08881d Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-46_Model_HP_MM1000FBFVR_Serial_9XGA0GVE0000C6347CN6.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-46_Model_SEAGATE_ST300MM0008_Serial_S422B07G.pdf b/nwipe_report_2023-10-02-00-20-46_Model_SEAGATE_ST300MM0008_Serial_S422B07G.pdf new file mode 100644 index 00000000..d8df5692 Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-46_Model_SEAGATE_ST300MM0008_Serial_S422B07G.pdf differ diff --git a/nwipe_report_2023-10-02-00-20-49_Model_NETAPP_X421_HCOBD450A10_Serial_PNHMT0GY.pdf b/nwipe_report_2023-10-02-00-20-49_Model_NETAPP_X421_HCOBD450A10_Serial_PNHMT0GY.pdf new file mode 100644 index 00000000..627dec21 Binary files /dev/null and b/nwipe_report_2023-10-02-00-20-49_Model_NETAPP_X421_HCOBD450A10_Serial_PNHMT0GY.pdf differ diff --git a/nwipe_report_2023-10-02-11-53-24_Model_HP_MM1000FBFVR_Serial_9XGA0RTV0000C6252V9L.pdf b/nwipe_report_2023-10-02-11-53-24_Model_HP_MM1000FBFVR_Serial_9XGA0RTV0000C6252V9L.pdf new file mode 100644 index 00000000..e2683106 Binary files /dev/null and b/nwipe_report_2023-10-02-11-53-24_Model_HP_MM1000FBFVR_Serial_9XGA0RTV0000C6252V9L.pdf differ diff --git a/nwipe_report_2023-10-02-11-53-26_Model_HP_MM1000FBFVR_Serial_9XG9ZA920000C6351QCD.pdf b/nwipe_report_2023-10-02-11-53-26_Model_HP_MM1000FBFVR_Serial_9XG9ZA920000C6351QCD.pdf new file mode 100644 index 00000000..93e5d488 Binary files /dev/null and b/nwipe_report_2023-10-02-11-53-26_Model_HP_MM1000FBFVR_Serial_9XG9ZA920000C6351QCD.pdf differ diff --git a/nwipe_report_2023-10-02-11-53-29_Model_HP_MM1000FBFVR_Serial_9XGA0GLK0000C6347EAF.pdf b/nwipe_report_2023-10-02-11-53-29_Model_HP_MM1000FBFVR_Serial_9XGA0GLK0000C6347EAF.pdf new file mode 100644 index 00000000..eaa37680 Binary files /dev/null and b/nwipe_report_2023-10-02-11-53-29_Model_HP_MM1000FBFVR_Serial_9XGA0GLK0000C6347EAF.pdf differ diff --git a/nwipe_report_2023-10-02-11-53-32_Model_HP_MM1000FBFVR_Serial_9XGA0PS50000C6350JK0.pdf b/nwipe_report_2023-10-02-11-53-32_Model_HP_MM1000FBFVR_Serial_9XGA0PS50000C6350JK0.pdf new file mode 100644 index 00000000..0740bd85 Binary files /dev/null and b/nwipe_report_2023-10-02-11-53-32_Model_HP_MM1000FBFVR_Serial_9XGA0PS50000C6350JK0.pdf differ diff --git a/nwipe_report_2023-10-02-11-53-34_Model_HP_MM1000FBFVR_Serial_9XGA0RF80000C614099X.pdf b/nwipe_report_2023-10-02-11-53-34_Model_HP_MM1000FBFVR_Serial_9XGA0RF80000C614099X.pdf new file mode 100644 index 00000000..e5a89a63 Binary files /dev/null and b/nwipe_report_2023-10-02-11-53-34_Model_HP_MM1000FBFVR_Serial_9XGA0RF80000C614099X.pdf differ diff --git a/nwipe_report_2023-10-02-11-53-37_Model_HP_MM1000FBFVR_Serial_9XGA0GH70000C6347ECP.pdf b/nwipe_report_2023-10-02-11-53-37_Model_HP_MM1000FBFVR_Serial_9XGA0GH70000C6347ECP.pdf new file mode 100644 index 00000000..69c3022c Binary files /dev/null and b/nwipe_report_2023-10-02-11-53-37_Model_HP_MM1000FBFVR_Serial_9XGA0GH70000C6347ECP.pdf differ diff --git a/nwipe_report_2023-10-02-11-53-40_Model_SEAGATE_ST300MM0008_Serial_S422B07G.pdf b/nwipe_report_2023-10-02-11-53-40_Model_SEAGATE_ST300MM0008_Serial_S422B07G.pdf new file mode 100644 index 00000000..f6a159f6 Binary files /dev/null and b/nwipe_report_2023-10-02-11-53-40_Model_SEAGATE_ST300MM0008_Serial_S422B07G.pdf differ diff --git a/nwipe_report_2023-10-02-11-53-40_Model_ST1000NX0423_Serial_S470PJHZ.pdf b/nwipe_report_2023-10-02-11-53-40_Model_ST1000NX0423_Serial_S470PJHZ.pdf new file mode 100644 index 00000000..2f67085f Binary files /dev/null and b/nwipe_report_2023-10-02-11-53-40_Model_ST1000NX0423_Serial_S470PJHZ.pdf differ diff --git a/nwipe_report_2023-10-02-11-53-40_Model_ST1000NX0423_Serial_S470PJRJ.pdf b/nwipe_report_2023-10-02-11-53-40_Model_ST1000NX0423_Serial_S470PJRJ.pdf new file mode 100644 index 00000000..625556c4 Binary files /dev/null and b/nwipe_report_2023-10-02-11-53-40_Model_ST1000NX0423_Serial_S470PJRJ.pdf differ diff --git a/nwipe_report_2023-10-02-11-53-41_Model_NETAPP_X421_HCOBD450A10_Serial_PNHMT0GY.pdf b/nwipe_report_2023-10-02-11-53-41_Model_NETAPP_X421_HCOBD450A10_Serial_PNHMT0GY.pdf new file mode 100644 index 00000000..12b02a03 Binary files /dev/null and b/nwipe_report_2023-10-02-11-53-41_Model_NETAPP_X421_HCOBD450A10_Serial_PNHMT0GY.pdf differ diff --git a/nwipe_report_2023-10-02-15-37-58_Model_SEAGATE_ST300MM0008_Serial_S422B07G.pdf b/nwipe_report_2023-10-02-15-37-58_Model_SEAGATE_ST300MM0008_Serial_S422B07G.pdf new file mode 100644 index 00000000..c21571a2 Binary files /dev/null and b/nwipe_report_2023-10-02-15-37-58_Model_SEAGATE_ST300MM0008_Serial_S422B07G.pdf differ diff --git a/nwipe_report_2023-10-02-15-37-58_Model_ST1000NX0423_Serial_S470PJRJ.pdf b/nwipe_report_2023-10-02-15-37-58_Model_ST1000NX0423_Serial_S470PJRJ.pdf new file mode 100644 index 00000000..cfba236e Binary files /dev/null and b/nwipe_report_2023-10-02-15-37-58_Model_ST1000NX0423_Serial_S470PJRJ.pdf differ diff --git a/nwipe_report_2023-10-02-15-37-59_Model_HP_MM1000FBFVR_Serial_9XGA0GVE0000C6347CN6.pdf b/nwipe_report_2023-10-02-15-37-59_Model_HP_MM1000FBFVR_Serial_9XGA0GVE0000C6347CN6.pdf new file mode 100644 index 00000000..51595c95 Binary files /dev/null and b/nwipe_report_2023-10-02-15-37-59_Model_HP_MM1000FBFVR_Serial_9XGA0GVE0000C6347CN6.pdf differ diff --git a/nwipe_report_2023-10-02-15-38-02_Model_NETAPP_X421_HCOBD450A10_Serial_PNHMT0GY.pdf b/nwipe_report_2023-10-02-15-38-02_Model_NETAPP_X421_HCOBD450A10_Serial_PNHMT0GY.pdf new file mode 100644 index 00000000..55320ab8 Binary files /dev/null and b/nwipe_report_2023-10-02-15-38-02_Model_NETAPP_X421_HCOBD450A10_Serial_PNHMT0GY.pdf differ diff --git a/nwipe_report_2023-10-02-17-08-45_Model_HP_MM1000FBFVR_Serial_9XGA0RTV0000C6252V9L.pdf b/nwipe_report_2023-10-02-17-08-45_Model_HP_MM1000FBFVR_Serial_9XGA0RTV0000C6252V9L.pdf new file mode 100644 index 00000000..56e65c26 Binary files /dev/null and b/nwipe_report_2023-10-02-17-08-45_Model_HP_MM1000FBFVR_Serial_9XGA0RTV0000C6252V9L.pdf differ diff --git a/nwipe_report_2023-10-02-17-08-48_Model_SEAGATE_ST300MM0008_Serial_S422B07G.pdf b/nwipe_report_2023-10-02-17-08-48_Model_SEAGATE_ST300MM0008_Serial_S422B07G.pdf new file mode 100644 index 00000000..0896643b Binary files /dev/null and b/nwipe_report_2023-10-02-17-08-48_Model_SEAGATE_ST300MM0008_Serial_S422B07G.pdf differ diff --git a/nwipe_report_2023-10-02-17-08-48_Model_ST1000NX0423_Serial_S470PJRJ.pdf b/nwipe_report_2023-10-02-17-08-48_Model_ST1000NX0423_Serial_S470PJRJ.pdf new file mode 100644 index 00000000..1af1ea4d Binary files /dev/null and b/nwipe_report_2023-10-02-17-08-48_Model_ST1000NX0423_Serial_S470PJRJ.pdf differ diff --git a/nwipe_report_2023-10-02-17-08-49_Model_HP_MM1000FBFVR_Serial_9XGA0GVE0000C6347CN6.pdf b/nwipe_report_2023-10-02-17-08-49_Model_HP_MM1000FBFVR_Serial_9XGA0GVE0000C6347CN6.pdf new file mode 100644 index 00000000..18349a0f Binary files /dev/null and b/nwipe_report_2023-10-02-17-08-49_Model_HP_MM1000FBFVR_Serial_9XGA0GVE0000C6347CN6.pdf differ diff --git a/nwipe_report_2023-10-02-17-08-51_Model_NETAPP_X421_HCOBD450A10_Serial_PNHMT0GY.pdf b/nwipe_report_2023-10-02-17-08-51_Model_NETAPP_X421_HCOBD450A10_Serial_PNHMT0GY.pdf new file mode 100644 index 00000000..0fb90cdb Binary files /dev/null and b/nwipe_report_2023-10-02-17-08-51_Model_NETAPP_X421_HCOBD450A10_Serial_PNHMT0GY.pdf differ diff --git a/reports/nwipe_report_2023-10-02-17-36-57_Model_SEAGATE_ST300MM0008_Serial_S422B07G.pdf b/reports/nwipe_report_2023-10-02-17-36-57_Model_SEAGATE_ST300MM0008_Serial_S422B07G.pdf new file mode 100644 index 00000000..89974fd9 Binary files /dev/null and b/reports/nwipe_report_2023-10-02-17-36-57_Model_SEAGATE_ST300MM0008_Serial_S422B07G.pdf differ diff --git a/reports/nwipe_report_2023-10-02-17-36-57_Model_ST1000NX0423_Serial_S470PJRJ.pdf b/reports/nwipe_report_2023-10-02-17-36-57_Model_ST1000NX0423_Serial_S470PJRJ.pdf new file mode 100644 index 00000000..0ddc473d Binary files /dev/null and b/reports/nwipe_report_2023-10-02-17-36-57_Model_ST1000NX0423_Serial_S470PJRJ.pdf differ diff --git a/reports/nwipe_report_2023-10-02-17-36-58_Model_HP_MM1000FBFVR_Serial_9XGA0GVE0000C6347CN6.pdf b/reports/nwipe_report_2023-10-02-17-36-58_Model_HP_MM1000FBFVR_Serial_9XGA0GVE0000C6347CN6.pdf new file mode 100644 index 00000000..5f6e5e96 Binary files /dev/null and b/reports/nwipe_report_2023-10-02-17-36-58_Model_HP_MM1000FBFVR_Serial_9XGA0GVE0000C6347CN6.pdf differ diff --git a/reports/nwipe_report_2023-10-02-17-37-00_Model_NETAPP_X421_HCOBD450A10_Serial_PNHMT0GY.pdf b/reports/nwipe_report_2023-10-02-17-37-00_Model_NETAPP_X421_HCOBD450A10_Serial_PNHMT0GY.pdf new file mode 100644 index 00000000..6a0a62c2 Binary files /dev/null and b/reports/nwipe_report_2023-10-02-17-37-00_Model_NETAPP_X421_HCOBD450A10_Serial_PNHMT0GY.pdf differ diff --git a/src/device.c b/src/device.c index ed1ead9f..a52cfc65 100644 --- a/src/device.c +++ b/src/device.c @@ -776,10 +776,10 @@ int nwipe_get_device_bus_type_and_serialno( char* device, nwipe_device_t* bus, c { /* strip any leading or trailing spaces and left justify, +4 is the length of "bus type:" */ trim( &result[19] ); - for( idx = 19; result[idx]; idx++ ) - { - result[idx] = tolower( result[idx] ); - } + for( idx = 19; result[idx]; idx++ ) + { + result[idx] = tolower( result[idx] ); + } if( strncmp( &result[19], "sas", 3 ) == 0 ) { @@ -792,10 +792,10 @@ int nwipe_get_device_bus_type_and_serialno( char* device, nwipe_device_t* bus, c /* strip any leading or trailing spaces and left justify, +4 is the length of "bus type:" */ trim( &result[16] ); - for( idx = 16; result[idx]; idx++ ) - { - result[idx] = tolower( result[idx] ); - } + for( idx = 16; result[idx]; idx++ ) + { + result[idx] = tolower( result[idx] ); + } if( strncmp( &result[16], "sata", 4 ) == 0 ) {