home *** CD-ROM | disk | FTP | other *** search
- Path: wbmt41.wbmt.tudelft.nl!not-for-mail
- From: "Marcel Offermans" <marcel@wbmt41.wbmt.tudelft.nl>
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Protection bits
- Date: Wed, 10 Jan 1996 14:26:59 +0100
- Organization: Private TCP/IP node
- Message-ID: <50077646@wbmt41.wbmt.tudelft.nl>
- References: <john.hendrikx.44q1@grafix.xs4all.nl> <wulfraedDKy5p7.AB3@netcom.com>
- Reply-To: "M.F.Offermans" <M.F.Offermans@WbMT.TUDelft.NL>
- NNTP-Posting-Host: wb617197.wbmt.tudelft.nl
- X-NewsReader: IntuiNews 1.3a (7.9.95)
-
- Hello Dennis,
-
- > In article <john.hendrikx.44q1@grafix.xs4all.nl>
- > john.hendrikx@grafix.xs4all.nl (John Hendrikx) writes:
-
- >> When I come to think of it this doesn't seem all that hard to do and it
- >> would probably not even slow down the filesystem. I mean, taking a peek
- >> at the first 512 bytes as it is written shouldn't be that hard. The only
- >> trouble is that 512 bytes might not be sufficient to make a FileID...
-
- > But that basically would be the same as having the contents of an .info
- > file as the first block of EVERY file... Which I think is the basic
- > idea on the Mac (I don't fully understand the "data" and "resource"
- > forks but if the "resource" fork is a block at the start of the file
- > that IDs the file type and the program that generated it...). I,
- > personally, prefer files to be PURE files; not some hybrid that
- > requires tricks to transfer to other users.
-
- Either you misunderstood John or I did. I don't think John meant that the
- first 512 bytes should be made into a file ID, he simply suggested that
- looking at the first 512 bytes of any file should be enough to identify the
- file (in most cases).
-
- The file type could then be stored somewhere in the FileInfoBlock, for
- example.
-
- If we expand this idea a little further, it could be the start of a more
- object oriented view on files. For each type, you could define a couple of
- actions, like "view", "edit", "print" and associate them to your favourite
- picture viewer, word processor, etc. Now if this can be merged with the
- datatypes features of the OS, it would make a very nice extension.
-
- Greetings, Marcel
-
-