How does one get to see hidden files/ change the attributes on Mac OS 9 ? Someone had written that this is possible using Apple's ResEdit but I thought that was just for editing icons and the like. Can one get to see hidden system-files at all ? What else is ResEdit used for normally - is this relevant to external HFS-readonly volumes ?
Would be grateful for any tips/suggestions.
Regards, Nandini
********** It's not easy to find happiness in ourselves and it's not possible to find it elsewhere ************
Entwicklung wrote:
How does one get to see hidden files/ change the attributes on Mac OS 9 ? Someone had written that this is possible using Apple's ResEdit but I thought that was just for editing icons and the like. Can one get to see hidden system-files at all ?
Yes, absolutely.
What else is ResEdit used for normally - is this relevant to external HFS-readonly volumes ?
ResEdit was created by Apple to allow Mac developers to customize the resource forks of the apps they created. Since the creation of the Mac in 1984, the Mac OS (up to X) has used the resource fork to specify things such as file and creator types, visibility, read/write permissions (lock mechanism), icons, creation and modification dates, etc. Every file has one, at least to a certain extent.
There is no use editing resource forks of files on a read-only disk, because, obviously, the changes made cannot be saved.
Alex
On Sunday, April 28, 2002, at 08:31 AM, Alex Vallens wrote:
Entwicklung wrote:
How does one get to see hidden files/ change the attributes on Mac OS 9 ? Someone had written that this is possible using Apple's ResEdit but I thought that was just for editing icons and the like. Can one get to see hidden system-files at all ?
Yes, absolutely.
What else is ResEdit used for normally - is this relevant to external HFS-readonly volumes ?
ResEdit was created by Apple to allow Mac developers to customize the resource forks of the apps they created. Since the creation of the Mac in 1984, the Mac OS (up to X) has used the resource fork to specify things such as file and creator types, visibility, read/write permissions (lock mechanism), icons, creation and modification dates, etc. Every file has one, at least to a certain extent.
Actually that's not exactly correct. The MacOS filesystem, HFS and HFS+, store some meta-data in the catalog record itself, apart from any file data in the data fork or resource fork. In addition to some of the more traditional metadata such as create/modify/backup dates there's 32 bytes of so-called Finder Info, split into two 16-byte records for historical reasons, that hold fields like the file and creator type, and flags such as the invisible flag.
"Hidden" (or "invisible") files are just the result of a convention in the Finder: if the Finder flags have a bit set that indicates the file should be invisible, the Finder just won't show it. It's still very much present in the catalog and can be manipulated using all the usual tools.
ResEdit was, as the name suggests, written to edit the contents of the resource fork of a file, where items like icons, dialogs, and text strings were stored. In addition some of the Finder flags relate to the use of the contents of the resource fork: there's a "Bundle bit", for instance, which hints to the Finder that this file's resource fork contains a "BNDL" resource that defines new associations between finder type/creator pairs and icons in this resource fork. For the convenience of the developer, ResEdit grew to provide access to all of the defined Finder flags and some other fields as well, so ResEdit can be used to set or clear the "invisible" bit in the Finder flags.
Although there's a copy of some of the Finder information stored in the header portion of the resource fork for disk recovery purposes, that is not the primary storage for that information and that's not where the filesystem looks for it. Furthermore, files can have a data fork, a resource fork, both, or neither; not all files have a resource fork (i.e. it can be of zero length).
Hope that helps, -Pat Dirks.
Op zondag 28 april 2002 12:18, schreef Entwicklung:
How does one get to see hidden files/ change the attributes on Mac OS 9 ?
[snip]
Would be grateful for any tips/suggestions.
Open Terminal.app, cd /, ls -l
there ya go.. Oh you want to see them in the finder? Open finder, type <apple>+~ and type the path you'd like to go. You can make hidden files by naming a file with the UNIX convention that files that start with a dot (.) are hidden. But that's just the UNIX way of marking files hidden. I think what people mean with ResEdit is that you can set certain HFS flags that mark it as 'hidden' as well.
Just my 2 Eurocents, Emiel Kollof