University of Helsinki Department of Computer Science
 

Department of Computer Science

Department information

 
Suomeksi

Operating Systems, Fall 2006, Homework 10

This homework will be covered in practise session on Thursday 23.11.2006 (week 47).

The exercises are based on chapters 12 and 14. There are no exercises related to Chapter 13. However, you are expected to know the content already from prevous courses. If you do not please study the Chapter also. It will help to understand the Chapter 14.

  1. Problem 12.7 from text book [Stal05, p. 577] [Stal01, p. 563]

  2. What are the biggest differences between Linux ext2fs and Microsoft NTFS file systems as compared to basic techniques given in Ch 12. How do they differ from each other?
    1. disk partitioning ?
    2. use of different file systems?
    3. file metadata and its managemenet?
    4. disk block allocation for files?
    5. locating a file from directory tree?
    6. disk system consistency?
    7. API?

  3. Problem 14.1 from text book [Stal05, p. 640] 13.1. [Stal01, p.605 ]

  4. RPC
    Study the rpc mechanisms available in Linux (man rpcgen). You can use the example files: makefile, dice.x, dice_prog.c and dice_caller.c. You need first to compile then. The client can access the remote procedure (server) by giving the name of the node (f.e. melkinkari) as the first parameter in the startup command.

    Modify this example or create a new program. Make a remote procedure summing, that adds its parameter values together and returns the sum to the caller. Make also a test client for your procedure.

    Why are you not allowed to edit the dice.h file? What is the purpose of the two .c-files the rpcgen generates? Can you read them? Can you find the calling points related to you files from them?


Tiina.Niklander@cs.helsinki.fi