But first lab 4
Download
1 / 9

But first lab 4! - PowerPoint PPT Presentation


  • 93 Views
  • Uploaded on

But first lab 4!. You will implement part of a FAT filesystem MSDOS *msdos_open(const char *devname) void msdos_close(MSDOS *dosp) int msdos_ls(MSDOS *dosp); int msdos_cd(MSDOS *dosp, const char *name); int msdos_rm(MSDOS *dosp, const char *name);

loader
I am the owner, or an agent authorized to act on behalf of the owner, of the copyrighted work described.
capcha
Download Presentation

PowerPoint Slideshow about ' But first lab 4!' - cleta


An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript
But first lab 4
But first lab 4!

  • You will implement part of a FAT filesystem

    • MSDOS *msdos_open(const char *devname)

    • void msdos_close(MSDOS *dosp)

    • int msdos_ls(MSDOS *dosp);

    • int msdos_cd(MSDOS *dosp, const char *name);

    • int msdos_rm(MSDOS *dosp, const char *name);

    • int msdos_save(MSDOS *dosp, const char *name);

Computing Systems

http://www.cs.caltech.edu/courses/cs134/a/ September 6, 2014


Fat filesystem structure
FAT filesystem structure

Computing Systems

http://www.cs.caltech.edu/courses/cs134/a/ September 6, 2014


Boot sector
Boot sector

Computing Systems

http://www.cs.caltech.edu/courses/cs134/a/ September 6, 2014


Fat tables
FAT tables

Computing Systems

http://www.cs.caltech.edu/courses/cs134/a/ September 6, 2014


First fat entry
First FAT entry

  • First entry is reserved

Computing Systems

http://www.cs.caltech.edu/courses/cs134/a/ September 6, 2014


Other fat entries
Other FAT entries

Computing Systems

http://www.cs.caltech.edu/courses/cs134/a/ September 6, 2014


Fat12 packing
FAT12 packing

Computing Systems

http://www.cs.caltech.edu/courses/cs134/a/ September 6, 2014


Directory entry
Directory Entry

Computing Systems

http://www.cs.caltech.edu/courses/cs134/a/ September 6, 2014


Entry attributes
Entry Attributes

Computing Systems

http://www.cs.caltech.edu/courses/cs134/a/ September 6, 2014


ad