FileSystemOct27

FileSystemOct27 - FileSystem B.Ramamurthy Page1...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
11/12/09 B.Ramamurthy Page 1 File System B. Ramamurthy
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
11/12/09 B.Ramamurthy Page 2 Introduction File system is the most visible aspect of an  operating system. It provides the mechanism for  on-line storage of and access to programs and  data. It provides the persistent storage capability  to a system. File systems consists of a collection of  files,  directory structure, access methods,  secondary storage management and   partitions  (which separate logical and physical collection of  directories.)
Background image of page 2
11/12/09 B.Ramamurthy Page 3 Topics for Discussion File Attributes File operations and structures File Management File Organization File Directories Directory Structure Unix file system
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
11/12/09 B.Ramamurthy Page 4 File Attributes Name: Symbolic reference for identifying the file  object. Type: Information that indicates the contents of  the file. Location: This information is a pointer a device  and to the location of the file on that device. Size : The current size of the file (in bytes, words,  or blocks). Protection:  Access control information (RWX) Time, date and user identification: This  information may be kept for (1) creation, (2) last  modification and (3) last use. Useful for protection,  security and usage monitoring.
Background image of page 4
11/12/09 B.Ramamurthy Page 5 File Attributes Possible file attributes
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
11/12/09 B.Ramamurthy Page 6 File Operations and structures A file is an abstract data type. Operations: open, close, create, destroy, copy, rename,  list, read, write, update, insert item, delete item, size,. .. Open file table: Table containing information about open  files. When a file operation is requested, an index into  this table is used for locating the file. When a file is  closed the entry is removed from the table. Current file pointer: Last read/write location is kept as a 
Background image of page 6
Image of page 7
This is the end of the preview. Sign up to access the rest of the document.

This document was uploaded on 10/15/2010.

Page1 / 36

FileSystemOct27 - FileSystem B.Ramamurthy Page1...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online