a file system. a programming interface we will model the programming interface to a file system....
Post on 19-Dec-2015
223 views
TRANSCRIPT
![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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/1.jpg)
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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/2.jpg)
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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/3.jpg)
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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/4.jpg)
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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/5.jpg)
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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/6.jpg)
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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/7.jpg)
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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/8.jpg)
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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/9.jpg)
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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/10.jpg)
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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/11.jpg)
![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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/12.jpg)
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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/13.jpg)
![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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/14.jpg)
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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/15.jpg)
![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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/16.jpg)
![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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/17.jpg)
![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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/18.jpg)
![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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/19.jpg)
![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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/20.jpg)
![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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/21.jpg)
![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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/22.jpg)
![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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/23.jpg)
![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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/24.jpg)
![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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/25.jpg)
![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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/26.jpg)
![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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/27.jpg)
![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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/28.jpg)
![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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/29.jpg)
![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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/30.jpg)
![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](https://reader030.vdocument.in/reader030/viewer/2022033101/56649d385503460f94a11055/html5/thumbnails/31.jpg)