The University of Western Australia
CITS2002 Systems Programming
 

Department of Computer Science and Software Engineering

CITS2002 Systems Programming

Project 2 Clarifications

Back to project 2.

This page provides any clarifications, more detailed explanations, big hints, or corrects any errors identified after the project description was released. This page will be updated with responses to any common problems or misunderstandings posted on help2002 or asked in laboratory sessions.

8th October
On using a 'triple pointer' when calling the SIFS_dirinfo() function: help2002.

4th October
When released, the project webpage gave the prototypes of the SIFS_mkdir() and SIFS_rmdir() functions as:

// make a new directory within an existing volume
int SIFS_mkdir(const char *volumename, const char *dirname);

// remove an existing directory from an existing volume
int SIFS_rmdir(const char *volumename, const char *dirname);

In fact for both functions the second parameter should have been named pathname, to indicate that an arbitrary pathname, not just a directory name, should be supported by the functions. Thus (thanks Fraser), the prototypes should be:

// make a new directory within an existing volume
int SIFS_mkdir(const char *volumename, const char *pathname);

// remove an existing directory from an existing volume
int SIFS_rmdir(const char *volumename, const char *pathname);

29th September
If you're having difficulty understanding the format of our SIFS volumes, the web-based volume viewer:
https://secure.csse.uwa.edu.au/run/sifs-viewer
may help. You may view a few sample volumes and upload your own volumes to view their contents. Questions and feedback welcome.

29th September
  • A new error value has been added; see this help2002 post.
    The change to the starting files, sifs-files.zip, was made at 8am Sunday 29th, so you may like to take a new full copy or update your existing 2 files.
  • Some good questions and answers about modification times and pathnames posted on help2002.

Chris McDonald.

Department of Computer Science and Software Engineering

This Page

Written by: Chris.McDonald@uwa.edu.au