1) Treating the HDD the same as RAM? Are you sure about that? That would say to me the process (application) uses ONLY memory pointers to access "memory" and has no concept of disk. Now what happens when the pointer is 32 bits and the file is larger than 4gb?Blacklight wrote:We're treating a HDD as we do RAM here. The kernel has a table of some sort of table internally to keep track of what's used. This would be stored somewhere on the disk for later use and reuse. It's a necessity for any sane organization of storage, RAM or HDD or CD or whatever have you.tom9876543 wrote:Paging to disk - can you explain how does the APPLICATION know which sectors to use on the disk? The disk would have to be ORGANISED into a file system?
Same way as you do with a filesystem, just instead of a file name, use a linear address of a sector. It's not a pretty system, but it works. Alternately, if you don't close create first, then it can pass the address directly to email.tom9876543 wrote:Person runs the CREATE application and closes it.
Person then runs the EMAIL application.
How do they share data?
So... a filename database?tom9876543 wrote:OK so the CREATE application has 5000 different movies.... good luck going back to it a week later and finding the one you want to work on.
The CREATE application would have to have its own little database similar to MAC finder.... and then ALL applications would need their own "finder" which is a significant amount of coding effort and they would all be inconsistent.
2) That would NOT work. How does the EMAIL application even know what movies the CREATE application has created? Apparently the CREATE application will have its own internal list of movies. The CREATE application has closed so the EMAIL application has no idea about the internals of the CREATE application.
3) You seem to agree it is stupid for each APPLICATION to have its own MAC finder / filename database. I think iTunes is a good example of an application having its own database and not really requiring a file system. But is it practical for EVERY application to have its own different interface to manage documents?