Archive for the 'filesystem' Category

Doxygen documentation

An example of Doxygen documentation for the filesystem lab is available in HTML and PDF format. The settings used to generate the documentation can be found in the Doxygen configuration file.

Sample solution to the filesystem lab

On the lab page you can find a sample solution to the filesystem lab.

Tests for the append operation

A new version of the handout is available online. It contains a new fstest.c with some bug fixes

Addition to the evaluation image tests

A new command file is available to test for the append operation (if a write is issued on an existing file the written content will be appended at the end of the existing data).

Wrong arguments

You can assume that the parameters passed to the filesystem lab are correct. You are not requested to check for invalid file names (with non-legal characters) or invalid paths (e.g. fs_creat("/non-existing-dir/file-to-be-created.ext"))

Filesystem Lab: simplifications

Your FAT driver can have the following limitations:

  • you can limit yourself to FAT12 images
  • your driver should be able to create new files but not necessarily new directories
  • you can ignore long file names
  • required operations:
    • open and close a file
    • open a file, read the content, close it
    • open a file in a subdirectory, read the content, close it
    • create a file, write Hello world! and close it
    • create a file in a subdirectory, write Hello world! and close it
    • work with more than one open file at the same time
    • create a file with more than 2K of content and close it
    • append content to an existing file

You can test the listed operations with evaluation.img image file and the corresponding evaluation.img.command command file

Deadline extension

Die deadline for the filesystem lab is extended to 2007-05-20 (next Sunday).

Filesystem Lab

The new lab about filesystems (2 weeks) is out:

http://www.lst.inf.ethz.ch/teaching/lectures/ss07/2100/filesystem_lab/index.html