1/* 2 * Copyright (c) 2008, 2010-2011 Apple Inc. All rights reserved. 3 * 4 * @APPLE_LICENSE_HEADER_START@ 5 * 6 * This file contains Original Code and/or Modifications of Original Code 7 * as defined in and that are subject to the Apple Public Source License 8 * Version 2.0 (the 'License'). You may not use this file except in 9 * compliance with the License. Please obtain a copy of the License at 10 * http://www.opensource.apple.com/apsl/ and read it before using this 11 * file. 12 * 13 * The Original Code and all software distributed under the License are 14 * distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 15 * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 16 * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 17 * FITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 18 * Please see the License for the specific language governing rights and 19 * limitations under the License. 20 * 21 * @APPLE_LICENSE_HEADER_END@ 22 */ 23 24/* fsck_msgnums.h 25 * 26 * This file contain fsck status message numbers associated with 27 * each fsck message string. These status message numbers and their 28 * strings are file system independent. 29 */ 30 31#ifndef __FSCK_MSGNUMS_H 32#define __FSCK_MSGNUMS_H 33 34/* Generic fsck status message numbers. These are file system 35 * independent messages that indicate the current state of verify or 36 * repair run or provide information about damaged files/folder. 37 * 38 * The corresponding strings and the mapping array of message number 39 * and other attributes exists in fsck_strings.c 40 */ 41enum fsck_msgnum { 42 fsckUnknown = 100, 43 44 fsckCheckingVolume = 101, /* Checking volume */ 45 fsckRecheckingVolume = 102, /* Rechecking volume */ 46 fsckRepairingVolume = 103, /* Repairing volume */ 47 fsckVolumeOK = 104, /* The volume %s appears to be OK */ 48 fsckRepairSuccessful = 105, /* The volume %s was repaired successfully */ 49 fsckVolumeVerifyIncomplete = 106, /* The volume %s could not be verified completely */ 50 fsckVolumeVerifyIncompleteNoRepair = 107, /* The volume %s could not be verified completely and can not be repaired */ 51 fsckVolumeCorruptNoRepair = 108, /* The volume %s was found corrupt and can not be repaired */ 52 fsckVolumeCorruptNeedsRepair = 109, /* The volume %s was found corrupt and needs to be repaired */ 53 fsckVolumeNotRepaired = 110, /* The volume %s could not be repaired */ 54 55 fsckVolumeNotRepairedInUse = 111, /* The volume %s cannot be repaired when it is in use */ 56 fsckVolumeNotVerifiedInUse = 112, /* The volume %s cannot be verified when it is in use */ 57 fsckFileFolderDamage = 113, /* File/folder %s may be damaged */ 58 fsckFileFolderNotRepaired = 114, /* File/folder %s could not be repaired */ 59 fsckVolumeNotRepairedTries = 115, /* The volume %s could not be repaired after %d attempts */ 60 fsckLostFoundDirectory = 116, /* Look for missing items in %s directory */ 61 fsckCorruptFilesDirectory = 117, /* Look for links to corrupt files in %s directory */ 62 fsckInformation = 118, /* Using %s (version %s) for checking volume %s of type %s. */ 63 fsckProgress = 119, /* %d */ 64 fsckTrimming = 120, /* Trimming unused blocks */ 65 fsckVolumeName = 121, /* The volume name is %s */ 66 fsckVolumeModified = 122, /* The volume was modified */ 67 fsckLimitedRepairs = 123, /* Limited repair mode, not all repairs available */ 68}; 69 70#endif 71