summaryrefslogtreecommitdiffstats
path: root/libblkid/exitcodes.h
diff options
context:
space:
mode:
authorbigbiff <bigbiff@teamw.in>2015-01-02 01:44:14 +0100
committerDees Troy <dees_troy@teamw.in>2015-01-05 04:38:42 +0100
commit7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de (patch)
treefb69cb515cb4ab675d5850684cc402100b7a2a22 /libblkid/exitcodes.h
parentcrypto: remove unused libs and clean up makefile (diff)
downloadandroid_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.tar
android_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.tar.gz
android_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.tar.bz2
android_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.tar.lz
android_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.tar.xz
android_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.tar.zst
android_bootable_recovery-7b4c7a681cc4c0a53dc8a8baf4853e921cfbf5de.zip
Diffstat (limited to 'libblkid/exitcodes.h')
-rw-r--r--libblkid/exitcodes.h35
1 files changed, 0 insertions, 35 deletions
diff --git a/libblkid/exitcodes.h b/libblkid/exitcodes.h
deleted file mode 100644
index 24ee12364..000000000
--- a/libblkid/exitcodes.h
+++ /dev/null
@@ -1,35 +0,0 @@
-#ifndef UTIL_LINUX_EXITCODES_H
-#define UTIL_LINUX_EXITCODES_H
-/*
- * BE CAREFUL
- *
- * These exit codes are part of the official interface for mount,
- * fsck, mkfs, etc. wrappers.
- */
-
-/* Exit codes used by mkfs-type programs */
-#define MKFS_EX_OK 0 /* No errors */
-#define MKFS_EX_ERROR 8 /* Operational error */
-#define MKFS_EX_USAGE 16 /* Usage or syntax error */
-
-/* Exit codes used by fsck-type programs */
-#define FSCK_EX_OK 0 /* No errors */
-#define FSCK_EX_NONDESTRUCT 1 /* File system errors corrected */
-#define FSCK_EX_REBOOT 2 /* System should be rebooted */
-#define FSCK_EX_DESTRUCT FSCK_EX_REBOOT /* Alias */
-#define FSCK_EX_UNCORRECTED 4 /* File system errors left uncorrected */
-#define FSCK_EX_ERROR 8 /* Operational error */
-#define FSCK_EX_USAGE 16 /* Usage or syntax error */
-#define FSCK_EX_LIBRARY 128 /* Shared library error */
-
-/* Exit codes used by mount-line programs */
-#define MOUNT_EX_SUCCESS 0 /* No errors */
-#define MOUNT_EX_USAGE 1 /* incorrect invocation or permission */
-#define MOUNT_EX_SYSERR 2 /* out of memory, cannot fork, ... */
-#define MOUNT_EX_SOFTWARE 4 /* internal mount bug or wrong version */
-#define MOUNT_EX_USER 8 /* user interrupt */
-#define MOUNT_EX_FILEIO 16 /* problems writing, locking, ... mtab/fstab */
-#define MOUNT_EX_FAIL 32 /* mount failure */
-#define MOUNT_EX_SOMEOK 64 /* some mount succeeded */
-
-#endif /* UTIL_LINUX_EXITCODES_H */