8.2. 8.2 File Organization
A file is a collection of data that the system maintains in persistent storage. Persistent means that the storage is non-volatile, which means the system maintains the data even after the program terminates; indeed, even if you shut off the system power. For this reason, plus the fact that different programs can access the data in a file, applications typically use files to maintain data across executions of the application and to share data with other applications.
The operating system typically saves file data on a disk drive or some other form of secondary storage device. Because secondary storage tends to be much slower than main memory, you generally do not store data that a program commonly accesses in files during ...
Get Art of Assembly Language, 1st Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.