File System
Previous Page | Home Page | Next Page |
---|
File System consists of
✦ A collection of files
✦ A directory structure
✦ (possibly) partitions
Important Issues
✦ File protection
✦ The semantics of file sharing
File Concept:
• The operating system provides a uniform logical abstraction for the physical storage of information.
• Storage devices are nonvolatile.
• A file is a named collection of related information that is recorded on secondary storage.
• Contiguous logical address space
• Types:
- ✦ Data
- ✔ Numeric
- ✔ Character
- ✔ Binary
- ✦ Program
- ✔ Source, object and executable file formats
File Attributes:
• Name - only information kept in human-readable form.
• Identifier - a unique tag (i.e., an internal number) that identifies the file within the file system.
• Type - needed for systems that support different types.
• Location - a pointer to file location on device.
• Size - current file size.
• Protection- controls who can do reading, writing, executing.
• Time, date, and user identification - data for protection, security, and usage monitoring.
• Information about files are kept in the directory structure, which is maintained on the disk.
Previous Page | Home Page | Next Page |
---|