31
A File System

A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete

  • View
    225

  • Download
    0

Embed Size (px)

Citation preview

Page 1: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete

A File SystemA File System

Page 2: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete

A Programming Interface

• We will model the programming interface to a file system. This is a list of operations upon the file system, complete with a description of their intended effects.

• We will divide the operations into two groups: those that affect the data within a single file, and those that affect the file system as a whole.

Page 3: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete

File operations

• read: used to read a piece of data from a file• write: used to write a piece of data to a file• add: used to add a new piece of data to a file• delete: used to delete a piece of data from a file

Page 4: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete

File System Operations

• create: used to create a new file• destroy: used to destroy an existing file• open: used to make a file available for the reading and

writing of data• close: used to make a file unavailable for reading and

writing

Page 5: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete

Files

Page 6: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete

Read

Page 7: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete

write

Page 8: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete

add

Page 9: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete

delete

Page 10: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete

Key errors

Page 11: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete
Page 12: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete

success

Page 13: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete
Page 14: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete

File System

Page 15: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete
Page 16: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete
Page 17: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete
Page 18: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete
Page 19: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete
Page 20: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete
Page 21: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete
Page 22: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete
Page 23: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete
Page 24: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete
Page 25: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete
Page 26: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete
Page 27: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete
Page 28: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete
Page 29: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete
Page 30: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete
Page 31: A File System. A Programming Interface We will model the programming interface to a file system. This is a list of operations upon the file system, complete