hpux11-vfsck-20050622
authorDerrick Brashear <shadow@dementia.org>
Wed, 22 Jun 2005 14:47:19 +0000 (14:47 +0000)
committerDerrick Brashear <shadow@dementia.org>
Wed, 22 Jun 2005 14:47:19 +0000 (14:47 +0000)
make vfsck build for hpux

Makefile.in
src/vfsck/libfs.h [new file with mode: 0644]

index 1e4cd1f..09424b8 100644 (file)
@@ -283,7 +283,7 @@ bozo: cmd comerr audit
 vfsck: vol
        set -x; \
        case ${SYS_NAME} in \
-       sgi_* | *linux* | rs_aix42 | *_darwin* | hp_ux* | ia64_hpux* | *fbsd* | *_obsd* | *_nbsd* | sun*_4* | rs_aix5* ) \
+       sgi_* | *linux* | rs_aix42 | *_darwin* | ia64_hpux* | *fbsd* | *_obsd* | *_nbsd* | sun*_4* | rs_aix5* ) \
                echo skip vfsck for ${SYS_NAME} ;; \
         * ) \
                ${COMPILE_PART1} vfsck ${COMPILE_PART2} ;; \
diff --git a/src/vfsck/libfs.h b/src/vfsck/libfs.h
new file mode 100644 (file)
index 0000000..cc5bbcb
--- /dev/null
@@ -0,0 +1,6 @@
+#include <sys/fs.h>        /* For UFS_*(fs) macro definitions */
+
+#define BLKSEEK_PROCESSING_ERROR   (-2)
+#define BLKSEEK_FILE_WRITEONLY     (-1)
+#define BLKSEEK_NOT_ENABLED         0
+#define BLKSEEK_ENABLED             1