• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Dot files
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dot files


  • Subject: Re: Dot files
  • From: Chris Page <email@hidden>
  • Date: Wed, 21 Jun 2006 03:03:53 -0700

On Jun 20, 2006, at 00:30 AM, Ruth Bygrave wrote:

Losing data that should be contained in a file because it shows up separately just sounds wrong. I have no idea why the original Mac OS had this dependence on forks, but I haven't heard it's any particular benefit to the users. If what I see is the equivalent of view data, I'll happily ignore it, but if it's part of the file's content it should be _in_ the file. (Thanks very much to all of you who pointed out how to avoid the dot files: if it's Finder stuff to do with displaying files I don't need it at all for the small flash drive.)

Well, you have a choice. You can have a file system with multiple forks and have programs operate on the forks they know and care about, or you can store each fork in its own file and have programs be responsible for presenting the facade of a single logical file to the user. Attempting to provide this functionality with a directory of single-fork files is ad-hoc and requires yet more information to identify directories that are part of the same logical file. Formalizing this in the volume format makes it trivial to unambiguously identify files with multiple streams (forks) in them from directories with arbitrary files.

HFS+ (and NTFS) is designed to support arbitrary numbers of forks rather than just the original two, but Apple has yet to expose support for it via the APIs. I think the future lies with arbitrary multi-stream (i.e., multi-fork) files. We already see zip archives being used essentially for this purpose. Making these a formal part of the file system provides consistency and determinism.

-- 

Chris Page - Software Wrangler


 That’s “Chris” with a silent *and* invisible “3”.



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Dot files (From: "Gary (Lists)" <email@hidden>)
 >Re: Dot files (From: Ruth Bygrave <email@hidden>)

  • Prev by Date: Re: Dot files
  • Next by Date: Re: Dot files
  • Previous by thread: Re: Dot files
  • Next by thread: Re: Dot files
  • Index(es):
    • Date
    • Thread