Indentation fix, cleanup.
[AROS.git] / rom / filesys / pfs3 / fs / messages.c
blob5f5060f61fdd3c2434e9c6760bbfc29db1218b8c
1 /* $Id$ */
2 /* $Log: messages.c $
3 * Revision 1.10 1999/05/14 11:31:34 Michiel
4 * Long filename support implemented; bugfixes
6 * Revision 1.9 1999/03/09 10:31:35 Michiel
7 * 00110: release number define
9 * Revision 1.8 1998/10/02 07:22:45 Michiel
10 * final release 4.2 version
12 * Revision 1.7 1998/09/27 11:26:37 Michiel
13 * ANODE_ERROR and ANODE_INIT added
15 * Revision 1.6 1998/09/03 07:12:14 Michiel
16 * versie 17.4
17 * bugfixes 118, 121, 123 and superindexblocks and td64 support
19 * Revision 1.5 1998/05/31 16:30:38 Michiel
20 * version number
22 * Revision 1.4 1998/05/30 21:52:34 Michiel
23 * Overdue addition
25 * Revision 1.3 1998/05/27 20:16:13 Michiel
26 * AFS --> PFS2
28 * Revision 1.2 1997/11/19 22:14:15 mark
29 * Copyright transferred from FLD to GREED
30 * Changed name from AFS to PFS-II
32 * Revision 1.1 1997/03/03 22:04:04 Michiel
33 * Initial revision
34 * */
36 #include <exec/types.h>
37 #include "versionhistory.doc"
39 UBYTE AFS_WARNING_MEMORY_MASK[] = "WARNING:\nAllocated memory doesn't match memorymask";
41 UBYTE AFS_ERROR_DNV_ALLOC_INFO[] = "ALERT:\nAllocation info not found";
42 UBYTE AFS_ERROR_DNV_ALLOC_BLOCK[] = "ALERT:\nAllocation block not found";
43 UBYTE AFS_ERROR_DNV_WRONG_ANID[] = "ALERT:\nWrong ablock id %08lX block %ld";
44 UBYTE AFS_ERROR_DNV_WRONG_DIRID[] = "ALERT:\nWrong dirblock id %08lX block %ld";
45 UBYTE AFS_ERROR_DNV_LOAD_DIRBLOCK[] = "ALERT:\nCould not read directoryblock";
46 UBYTE AFS_ERROR_DNV_WRONG_BMID[] = "ALERT:\nWrong bitmap block id %08lX block %ld";
47 UBYTE AFS_ERROR_DNV_WRONG_INDID[] = "ALERT:\nWrong index block id %08lX, expected %08lX, block %ld, %ld, %ld";
48 UBYTE AFS_ERROR_CACHE_INCONSISTENCY[] = "Cache inconsistency detected\nFinish all disk activity";
49 UBYTE AFS_ERROR_OUT_OF_BUFFERS[] = "Out of buffers";
50 UBYTE AFS_ERROR_MEMORY_POOL[] = "Couldn't allocate memorypool";
51 UBYTE AFS_ERROR_PLEASE_FREE_MEM[] = "Please free some memory";
52 UBYTE AFS_ERROR_LIBRARY_PROBLEM[] = "Couldn't open library!";
53 UBYTE AFS_ERROR_INIT_FAILED[] = "Initialization failure";
54 UBYTE AFS_ERROR_READ_OUTSIDE[] = "Read attempt outside partition!";
55 UBYTE AFS_ERROR_WRITE_OUTSIDE[] = "Write attempt outside partition!";
56 UBYTE AFS_ERROR_SEEK_OUTSIDE[] = "Seek attempt outside partition!";
57 UBYTE AFS_ERROR_READ_ERROR[] = "Read Error %ld on block %ld\n"
58 "Make sure disk is inserted";
59 UBYTE AFS_ERROR_WRITE_ERROR[] = "Write Error %ld on block %ld\n"
60 "Make sure disk is inserted";
61 UBYTE AFS_ERROR_READ_DELDIR[] = "Could not read deldir";
62 UBYTE AFS_ERROR_DELDIR_INVALID[] = "Deldir invalid";
63 UBYTE AFS_ERROR_EXNEXT_FAIL[] = "ExamineNext failed";
64 UBYTE AFS_ERROR_DOSLIST_ADD[] = "DosList add error.\nPlease remove volume";
65 UBYTE AFS_ERROR_EX_NEXT_FAIL[] = "ExamineNext failed";
66 UBYTE AFS_ERROR_NEWDIR_ADDLISTENTRY[] = "Newdir addlistentry failure";
67 UBYTE AFS_ERROR_LOAD_DIRBLOCK_FAIL[] = "Couldn't load dirblock!!";
68 UBYTE AFS_ERROR_LRU_UPDATE_FAIL[] = "LRU update failed block %ld, err %ld";
69 UBYTE AFS_ERROR_UPDATE_FAIL[] = "Disk update failed";
70 UBYTE AFS_ERROR_UNSLEEP[] = "Unsleep error";
71 #if TD64 == 0 && NSD == 0 && SCSIDIRECT == 0
72 UBYTE AFS_ERROR_DISK_TOO_LARGE[] = "Disk too large for this version of PFS3.\nPlease install TD64 or direct-scsi version";
73 #endif
74 UBYTE AFS_ERROR_ANODE_ERROR[] = "Anode index invalid";
75 UBYTE AFS_ERROR_ANODE_INIT[] = "Anode initialisation failure";
76 UBYTE AFS_ERROR_32BIT_ACCESS_ERROR[] = "TD32 and Direct SCSI access modes failed!\nCan't read block %ld (<4G)\n%s:%ld";
78 #if VERSION23
79 UBYTE AFS_ERROR_READ_EXTENSION[] = "Could not read rootblock extension";
80 UBYTE AFS_ERROR_EXTENSION_INVALID[] = "Rootblock extension invalid";
81 #endif
83 #ifdef BETAVERSION
84 /* beta messages */
85 UBYTE AFS_BETA_WARNING_1[] = "BETA WARNING NR 1";
86 UBYTE AFS_BETA_WARNING_2[] = "BETA WARNING NR 2";
87 #endif
90 * Message shown when formatting a disk
93 UBYTE FORMAT_MESSAGE[] =
94 "Professional File System 3 V" RELEASE "\n\n"
95 " Open Source Version \n\n"
96 " based on PFS3 \n"
97 " written by \n"
98 " Michiel Pelt \n\n"
99 " Press mouse to continue ";
101 #if DELDIR
102 UBYTE deldirname[] = "\007.DELDIR";
103 #endif