Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Resource fork


Related Topics

In the News (Sun 15 Nov 09)

  
  Resource fork - Wikipedia, the free encyclopedia
The resource fork is a construct of the Mac OS operating system used to store structured data in a file, alongside and tightly bound to unstructured data within the data fork, and implemented in all of the filesystems used for system drives on the Macintosh (MFS, HFS and HFS Plus).
While the resource fork is probably mostly used by applications and other executables, every file is able to have a resource fork, and so its use is not limited to applications alone.
The resource fork is sometimes used to store the metadata of a file, although it can also be used for storing the actual data, as was the case with font files in the classic Mac OSes.
en.wikipedia.org /wiki/Resource_fork   (1612 words)

  
 Data::MacResFile - Perl extension to read a Macintosh Resource fork
Instead of a stream of bytes, data from a resource fork is retrieved in complete units when the operating system is given certain keys of information.
This is less useful than the open_fromhandle constructor, because most files that have a combined data and resource fork specify the offset at another point in the file.
A resource type is a 32 bit quantity represented as a four character string.
world.std.com /~aml/perl/macresfile/MacResFile.html   (672 words)

  
 Macintosh File Forks
The data fork contains what we generally call a file on the PC, that is the text created by a word processor, the pixels building a picture, etc. When transferring data files between Macintosh and PC, the data fork is generally the only part of interest (the major exception is font files, see below).
Against what is often said, even by knowledgeable persons, the resource fork doesn't contain the signature of Macintosh files (file type and file creator), which is stored in the disk catalog.
The resource fork is organised as a data base, which allows for a fast access to all components of the stream.
www.macdisk.com /macforken.php3   (637 words)

  
 man: Mac::Resources
If the resChanged attribute for a resource has been set and your application calls andUpdateResFile or quits, the Resource Man- ager writes the resource data for that resource (and for all other resources whose resChanged attribute is set) and the entire resource map to the resource fork of the corresponding file on disk.
The first task is to change, add, or remove resource data in the file's resource fork to match the resource map in memory.
The GetResource function starts with the current resource file and progresses through the list in order (that is, in reverse chronological order in which the resource forks were opened) until it finds the resource's entry in one of the resource maps.
www.hmug.org /man/3/Mac::Resources.php   (2663 words)

  
 Zanka Software Forums / Is there any roadmap?
A data fork holds data (like the contents of a text document), while a resource fork holds categorized data for the application itself or application that created the document.
The resource fork is constructed in a similar fashion to a non-relational SQL database.
On a Macintosh, the resource fork and data fork are stored on the filesystem as being a single file.
www.zankasoftware.com /forum/viewtopic.php?id=65   (2472 words)

  
 August 1999   (Site not responding. Last check: 2007-10-08)
You find the actual data for whatever resource you are looking for by using its resource type and ID, or possibly name, to find it in the indices in the section of the resource fork called the Resource Map, which tells you at which byte number in the resource file the resource data record starts.
It returns a property list containing all of the resource id's for that resource type and the absolute position (not an offset) in the resource fork where the data for that resource starts.
The only thing any two resource data records will have in common is that their first 4 bytes contain the length of the resource data in the record.
www.updatestage.com /previous/990801.html   (3127 words)

  
 MACINTOSH C   (Site not responding. Last check: 2007-10-08)
The resource fork of a file is also called the resource file because, in some respects, you can treat it as if it were a separate file.
Most Resource Manager functions assume that the current resource file is the file on which they should operate or, in the case of a search, the file in which to begin the search.
Note that, although the file reference number for the data fork and the resource fork usually match, you should not assume that this is always the case.
www.mactech.com /macintosh-c/classic-chap17-1.html   (2263 words)

  
 May 99 Getting Started   (Site not responding. Last check: 2007-10-08)
A resource can be used to store a sound, a few (or a few thousand) characters of stylized text, a program preference (such as the screen placement of a window), or just about any other type of information a clever developer can think of.
When that file's resource fork is being manipulated (opened, written to, read from, or closed) by a program, programmers often refer to the fork itself as a file.
When the application opens the resource fork of a different resource file, the reference number of the newly opened file will be returned to the program.
www.mactech.com /articles/mactech/Vol.15/15.05/May99GettingStarted   (4881 words)

  
 The BMUG Glossary - R
Resources are small chunks of program code that can be used over and over by applications.
There is a parallel portion of the file called the "data fork" where the actual numeric and textual data lives.
The resource fork is composed of separate resource packages, like volumes in an encyclopedia.
www.planetmug.org /glossary/gl.r.html   (1901 words)

  
 Fringewood News: Mac Chat #5.07   (Site not responding. Last check: 2007-10-08)
It is advisable to first remove the resource fork and test the archive before posting to a non-Mac server, to be sure that it can be properly opened.
Since there is no resource fork to protect, there is no need to text encode the archive, since it is already a text file by nature, as are all PC files.
This means that no Mac file which requires the present of its resource fork to operate can be converted to a PC file without special processing by an application designed to do a proper conversion.
www.main.com /~fringewood/archive/mac507.html   (2825 words)

  
 Handling of Resource Forks   (Site not responding. Last check: 2007-10-08)
The Macintosh is unique in that it's files have 2 components - a Data fork and a Resource fork.
In addition to the Macintosh Resource fork, additional Finder metadata (such as file type and creator) is also stored by Goliath.
The data component is stored as was in previous versions of Goliath; however, now the resource fork is stored in a 'hidden' Unix file.
www.webdav.org /goliath/help0.9/chaps/rezforks.htm   (231 words)

  
 Mac Geekery - The New Resource Fork
And, thus, it appears that the Unixification of the resource fork is complete.
Second, I'd be surprised if the resource fork was stored as extensible attributes on the file, for several reasons: 1.
As for the resource fork, my guess is that, like type and creator codes, they can be accessed via extended attributes but the actual data is still stored in the same old place(s).
www.macgeekery.com /tips/the_new_resource_fork   (1010 words)

  
 Resource fork preservation, cpio, and ditto in Archive mode   (Site not responding. Last check: 2007-10-08)
Resource fork preservation, cpio, and ditto in Archive mode
Previous message: Resource fork preservation, cpio, and ditto in Archive mode
Yes, a user can select the archive mode of their choice, but I see no reason (beyond resource forks) to support 4 different archive modes, some of which will simply not work on a variety of systems.
www.opendarwin.org /pipermail/darwinports/2004-December/023241.html   (237 words)

  
 Command Using BLOBS to Store Document and Application Files   (Site not responding. Last check: 2007-10-08)
Resources are stored in the resource fork, and data (such as the application code) is stored in the data fork.
Resources are a Mac OS concept that allows the storing of objects used by the application file in a form that is independent of the program code.
Resources are often used to localize applications for overseas markets by translating menus, for example.
www.acius.com /ACIDOC/CMU/CMU79880.HTM   (3948 words)

  
 How does Macintosh Store PostScript Fonts?   (Site not responding. Last check: 2007-10-08)
The two forks of a Macintosh file are called the ``resource fork'' and the ``data fork''.
The various bits of information in the resource fork are contained in a complex structure.
One of the items is a resource map, detailing the different kinds of resources and their positions in the resource fork.
www.postscript.org /FAQs/language/node40.html   (364 words)

  
 Limitations of the resource fork - Ambrosia Software, Inc. web board   (Site not responding. Last check: 2007-10-08)
this tells that the maximum number of resources in a single file is 2727, but more interestingly that one shouldn't put more than 500 resource of the same type in the same file.
Speaking of them, the limit of 2727 resources can be explained; 30 bytes are taken by the header of the resource map, 8 bytes by the entry for the one resource type (let's admit there's only one for now), 32729 bytes remain for storing the entries for individual resource, each taking 12 bytes.
I've not been able to tell it from the offsets, but it may even be possible that resource names and resource entries compete for space in the resource map, meaning the limits could be reached even faster.
www.ambrosiasw.com /webboard/Forum9/HTML/005311.html   (3811 words)

  
 ditto: Mac OS X Resource Fork & Utensils   (Site not responding. Last check: 2007-10-08)
That's fine and dandy since that means *most* of my data doesn't have any resource forks, but that doesn't make me feel so good about the few that do.
I was guessing that Finder kept its icons in the resource fork so I jumped over to Finder, found a file, and replaced it's icon.
I'm using Panther, and all of my resource forks are stored as a filename beginning with._ (so the resource fork for foo becomes._foo).
sean.typepad.com /ditto/2004/07/mac_os_x_resour.html   (1532 words)

  
 ► » Classic Mac files always have a resource fork, true?   (Site not responding. Last check: 2007-10-08)
resource fork may not be allocated, it exists as an abstract
For a data fork, "empty" and "zero-length" should be synonymous.
The term resource fork refers to the data.
www.allmac-talk.com /detail-9002897.html   (1624 words)

  
 Macintosh HFS Filesystem for Linux: Writing to HFS Filesystems   (Site not responding. Last check: 2007-10-08)
Therefore, resource forks are not suitable for holding Linux executables or shared libraries.
If you plan to use the resource fork on a Macintosh then you must obey the format of a valid resource fork.
Directories have no resource fork but you may wish to create a directory which has the same location and view on the Finder's screen as an existing one.
www-sccm.stanford.edu /Students/hargrove/HFS/README-3.html   (1140 words)

  
 Command BLOB TO DOCUMENT
To rewrite the Resource fork of the document instead, pass the optional
For example, the data fork of a 4D database is stored in a file with the file extension.4DB; the resource fork is stored in a file with the same name and the file extension.RSR.
On Windows, if you write a 4D application with the data fork and resource fork stored in BLOBs, you just need to access the file corresponding to the fork with which you want to work.
www.4d.com /docs/CMU/CMU00526.HTM   (310 words)

  
 How do I ignore/remove the resource fork from a Macintosh notebook?   (Site not responding. Last check: 2007-10-08)
If you think you have a corrupted notebook, chances are that the corruption lies in the resource fork.
There are several ways to remove a resource fork from a notebook.
You would probably want to do this if: a) the resource fork of a notebook was corrupted, or b) if you want to reduce the size of a notebook.
support.wolfram.com /mathematica/interface/notebooks/resourcefork.html   (312 words)

  
 Damaged Resource Fork - macosx.com - Mac Support
In fact in OS X the resource fork is contained in a separate file with the same file name as the original file with the characters "._" prepended.
The fact that the resource fork of every one of the files in your video project are "damaged" and not the much larger, and therefore more likely to be damage, data files themselves, stretches credulity.
In fact, I recall having seen posts on the Apple forums about similar problems where no drive crash or damaged resource forks were involved at all.
www.macosx.com /forums/showthread.php?t=42871   (556 words)

  
 Type It
The file lost its resource fork and attributes or was created with a program other than the one you want.
The Data fork is the file data, such as a picture or text.
Mac files loose their resource fork when transferred to a Unix or Windows computer, because UNIX (and many other OSs) can only cope with files having one part or fork.
www.iath.virginia.edu /~cj8n/doc/typeit   (480 words)

  
 INFO: Accessing the Macintosh Resource Fork
Resource forks are implemented as NTFS streams named AFP_Resource.
There is no structure to the fork; it is exactly whatever the Macintosh writes to it.
The resource fork can be written to using standard Win32 application programming interfaces (APIs).
support.microsoft.com /support/kb/articles/Q106/6/63.asp   (89 words)

  
 Fondu -- a mac FOND reader on unix
Dealing with mac fonts is hard on other operating systems because mac fonts are stored in the resource fork, and other operating systems do not support this concept.
The input files may be either macbinary files (.bin), binhex files (.hqx), bare mac resource forks or data fork resource files (.dfont, used by Mac OS/X).
A bare resource fork may be generated easily be copying a file with a resource fork onto a floppy (or zip) with a DOS format.
fondu.sourceforge.net   (1436 words)

  
 Re: Mac resource fork [XARC 5498]   (Site not responding. Last check: 2007-10-08)
The copy program has to be aware the resource fork exists and know how to copy the corresponding data.
In fact, even some of the Mac based copy programs have this problem and require the use of additional switches and/or applications (for example, on Mac OS X "ditto" needs the "-rsrcFork" switch and "cp" simply does not work).
If you need a good copy program for Mac OS X that does copy resource forks, I recommend using "Carbon Copy Cloner" which is available at http://software.bombich.com/ccc.html Regards, rotaiv At 9/9/2003 11:21 AM, daggs_td wrote: >When xxcopy copies files that were created on a MAC it seems that >the resource fork is lost.
www.xxcopy.com /xarc/msg/msg05498.htm   (162 words)

  
 OSXFAQ :: View topic - File and Resource Fork Manipulation From CLI   (Site not responding. Last check: 2007-10-08)
If you wish to copy a file that has a resource fork from the command line, one good tool is ditto, with the -rsrcFork (or --rsrc) flag set.
If you rm a file with a resource fork, the resource fork is removed as well.
So, without an entry in the hard drive directory pointing at both forks, they are free to be used by other programs, and will eventually be erased by something else.
forums.osxfaq.com /viewtopic.php?t=8416   (1000 words)

  
 Rezilla 1.0.8 - MacUpdate
Rezilla is a resource forks editor for the Macintosh.
It lets you edit, create, modify, duplicate, remove resources contained in any fork (data fork or resource fork), copy, cut and paste them from a resource map to the other, drag and drop resources etc. It comes equipped with an hexadecimal editor.
Resource maps can be exported in text, HTML, XML or DeRez formats.
www.macupdate.com /info.php/id/14983   (226 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.