2 * Copyright (c) 2008, 2010-2011 Apple Inc. All rights reserved.
4 * @APPLE_LICENSE_HEADER_START@
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
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.
21 * @APPLE_LICENSE_HEADER_END@
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.
31 #ifndef __FSCK_MSGNUMS_H
32 #define __FSCK_MSGNUMS_H
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.
38 * The corresponding strings and the mapping array of message number
39 * and other attributes exists in fsck_strings.c
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 */
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 */