Rename miscellaneous.

This commit is contained in:
2020-03-01 17:00:01 +00:00
parent 8dc482b793
commit 9695dda444
5 changed files with 11 additions and 11 deletions

View File

@@ -1,8 +1,8 @@
DiscImageChef Filesystem Testers Aaru Filesystem Testers
================================ ================================
This folder contains source code for snippets designed to retrieve special features This folder contains source code for snippets designed to retrieve special features
(e.g. extended attributes) from all files on installed volumes (getters) as well as snippets (e.g. extended attributes) from all files on installed volumes (getters) as well as snippets
designed to create known files with all features specific to an designed to create known files with all features specific to an
operating system / filesystem combination to reverse engineer them and/or test operating system / filesystem combination to reverse engineer them and/or test
DiscImageChef filesystem implementations. Aaru filesystem implementations.

View File

@@ -1,4 +1,4 @@
DiscImageChef Filesystem Testers: Getters Aaru Filesystem Testers: Getters
========================================= =========================================
This folder contains snippets designed to retrieve special features from files on a volume This folder contains snippets designed to retrieve special features from files on a volume

View File

@@ -1,4 +1,4 @@
DiscImageChef 32-bit OS/2 Filesystem Getter Aaru 32-bit OS/2 Filesystem Getter
=========================================== ===========================================
This snippet is designed to retrieve all Extended Attributes from all files in the `C:` This snippet is designed to retrieve all Extended Attributes from all files in the `C:`
volume, saving them as a set of COUNTER.EA files in executing directory. volume, saving them as a set of COUNTER.EA files in executing directory.

View File

@@ -615,7 +615,7 @@ void FileAttributes(const char *path)
wRc = FSWrite(refFile, &count, dicText); wRc = FSWrite(refFile, &count, dicText);
cRc = FSClose(refFile); cRc = FSClose(refFile);
finderInfo.fdType = ftGenericDocumentPC; finderInfo.fdType = ftGenericDocumentPC;
finderInfo.fdCreator = ostDiscImageChef; finderInfo.fdCreator = ostAaru;
rc = HSetFInfo(refNum, dirId, "\pDIC", &finderInfo); rc = HSetFInfo(refNum, dirId, "\pDIC", &finderInfo);
} }
} }
@@ -931,7 +931,7 @@ void ResourceFork(const char *path)
wRc = FSWrite(refFile, &count, rsrcText); wRc = FSWrite(refFile, &count, rsrcText);
cRc = FSClose(refFile); cRc = FSClose(refFile);
finderInfo.fdType = ftGenericDocumentPC; finderInfo.fdType = ftGenericDocumentPC;
finderInfo.fdCreator = ostDiscImageChef; finderInfo.fdCreator = ostAaru;
finderInfo.fdFlags = kHasCustomIcon; finderInfo.fdFlags = kHasCustomIcon;
rc = HSetFInfo(refNum, dirId, "\pICON", &finderInfo); rc = HSetFInfo(refNum, dirId, "\pICON", &finderInfo);
} }
@@ -962,7 +962,7 @@ void ResourceFork(const char *path)
wRc = FSWrite(refFile, &count, rsrcText); wRc = FSWrite(refFile, &count, rsrcText);
cRc = FSClose(refFile); cRc = FSClose(refFile);
finderInfo.fdType = ftPICTFile; finderInfo.fdType = ftPICTFile;
finderInfo.fdCreator = ostDiscImageChef; finderInfo.fdCreator = ostAaru;
rc = HSetFInfo(refNum, dirId, "\pPICT", &finderInfo); rc = HSetFInfo(refNum, dirId, "\pPICT", &finderInfo);
} }
} }
@@ -992,7 +992,7 @@ void ResourceFork(const char *path)
wRc = FSWrite(refFile, &count, rsrcText); wRc = FSWrite(refFile, &count, rsrcText);
cRc = FSClose(refFile); cRc = FSClose(refFile);
finderInfo.fdType = ftGenericDocumentPC; finderInfo.fdType = ftGenericDocumentPC;
finderInfo.fdCreator = ostDiscImageChef; finderInfo.fdCreator = ostAaru;
rc = HSetFInfo(refNum, dirId, "\pVERSION", &finderInfo); rc = HSetFInfo(refNum, dirId, "\pVERSION", &finderInfo);
} }
} }
@@ -1038,7 +1038,7 @@ void ResourceFork(const char *path)
wRc = FSWrite(refFile, &count, rsrcText); wRc = FSWrite(refFile, &count, rsrcText);
cRc = FSClose(refFile); cRc = FSClose(refFile);
finderInfo.fdType = ftPICTFile; finderInfo.fdType = ftPICTFile;
finderInfo.fdCreator = ostDiscImageChef; finderInfo.fdCreator = ostAaru;
finderInfo.fdFlags = kHasCustomIcon; finderInfo.fdFlags = kHasCustomIcon;
rc = HSetFInfo(refNum, dirId, "\pALL", &finderInfo); rc = HSetFInfo(refNum, dirId, "\pALL", &finderInfo);
} }
@@ -1956,7 +1956,7 @@ static pascal OSErr
aliasRefnum = FSpOpenResFile(aliasFile, fsRdWrPerm); aliasRefnum = FSpOpenResFile(aliasFile, fsRdWrPerm);
AddResource((Handle)alias, rAliasType, 0, "\pDiscImageChef alias"); AddResource((Handle)alias, rAliasType, 0, "\pAaru alias");
err = ResError(); err = ResError();
CloseResFile(aliasRefnum); CloseResFile(aliasRefnum);

View File

@@ -78,7 +78,7 @@ const char *rsrcText = "This file has a custom icon, a version, and a p
enum enum
{ {
gestaltMacOSCompatibilityBoxAttr = FOUR_CHAR_CODE('bbox'), gestaltMacOSCompatibilityBoxAttr = FOUR_CHAR_CODE('bbox'),
ostDiscImageChef = FOUR_CHAR_CODE('dic '), ostAaru = FOUR_CHAR_CODE('dic '),
ostSimpleText = FOUR_CHAR_CODE('ttxt'), ostSimpleText = FOUR_CHAR_CODE('ttxt'),
ostUnknown = FOUR_CHAR_CODE('????'), ostUnknown = FOUR_CHAR_CODE('????'),
rtIcons = FOUR_CHAR_CODE('icns'), rtIcons = FOUR_CHAR_CODE('icns'),