🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: nl.comp.sys.mac
2 messages
2 total messages Started by Leo Dekeo Tue, 17 Sep 2002 14:41
Data en resource forks
#1597
Author: Leo Dekeo
Date: Tue, 17 Sep 2002 14:41
16 lines
1771 bytes
Hallo,

Hoe zit dat nu met die data en resource forks? Wat wordt er precies in 
het ene en wat in het andere gestoken?

Bij welk type files is het essentieel dat je over beide forks beschikt, 
en niet enkel over de data fork.

Welke formaten houden de forks samen (naast .sit, .bin en .hqx)?

Een gedetailleerde uitleg of een goeie link zijn welkom!
Alvast bedankt!
L.D.
-- 
When replying: remove the DOT from my e-mail address.
Ellen Feiss for president: <http://www.apple.com/switch/ads/ellenfeiss.html>
Re: Data en resource forks
#1598
Author: fabio
Date: Tue, 17 Sep 2002 15:04
69 lines
4367 bytes
http://www.google.nl/search?q=data+%2Bfork+%2Bmac+%2Bresource&ie=ISO-8859-1&
hl=nl&lr=

http://www.asy.com/files.htm

Mac files have a special structure consisting of Data fork and Resource
fork. Data fork is the part where actual text and data are stored. Resource
fork keeps mostly the information used to display the icon,etc.

http://www.ufaq.org/navcom/multilinks.html

http://kb.indiana.edu/data/aarp.html?cust=8916
What is a forked file structure?

A forked file structure is a way of storing information unique to Mac OS
computers. Every Mac OS file consists of at least one of two separate pieces
of information, or forks: a data fork and often a resource fork. A file's
data fork holds raw data in an organized but relatively unintelligible
format. The resource fork consists of all the interfaces, dialog boxes,
warning boxes, and graphical user interface (GUI) information necessary to
format and present the data in a familiar and Mac OS-like way.

Not every Macintosh file has both a resource and a data fork. Many files,
such as those created by word processors and spreadsheet programs, are
entirely data. All of the extra formatting information and graphical user
interface (GUI, which creates file icons) resides in the application that
made the file, and this tells the file how to look and behave.

You can demonstrate this by making a test file with a program (for example,
Microsoft Excel) and saving it on a floppy disk. Note the appearance of the
icon on the screen: a page symbol with a stylized "X" next to a picture of a
small table. Then eject the floppy and insert it in a Macintosh that does
not have Excel installed on its hard drive or any shared drives. The icon
now is just a white page with a corner turned down. It looks totally
different! Without Excel's resources to describe how the icon should appear,
it defaults to a generic icon's appearance. You cannot open and alter the
file, because it is only raw data, with no resources to tell it how to be
manipulated.

This is useful knowledge for working with Mac OS, particularly when doing
disk recoveries. Many recovery programs can tell you what kind of damage
your file has suffered, and whether the data fork or the resource fork of
the file has been corrupted or damaged. As a general rule, if only the
resource fork has been damaged there is a better chance of retrieving the
file's contents to be entered again, or transported to a new undamaged file.

> Van: Leo Dekeo <leodekeo@yahoo.DOT.com>
> Organisatie: Ghent University
> Nieuwsgroepen: nl.comp.sys.mac,be.comp.sys.mac
> Datum: Tue, 17 Sep 2002 16:41:02 +0200
> Onderwerp: Data en resource forks
> 
> Hallo,
> 
> Hoe zit dat nu met die data en resource forks? Wat wordt er precies in
> het ene en wat in het andere gestoken?
> 
> Bij welk type files is het essentieel dat je over beide forks beschikt,
> en niet enkel over de data fork.
> 
> Welke formaten houden de forks samen (naast .sit, .bin en .hqx)?
> 
> Een gedetailleerde uitleg of een goeie link zijn welkom!
> Alvast bedankt!
> L.D.
> -- 
> When replying: remove the DOT from my e-mail address.
> Ellen Feiss for president: <http://www.apple.com/switch/ads/ellenfeiss.html>
> 
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads