![Suomeksi](/gif/hy/flag-fi-25x21.gif)
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.
- Problem 12.7 from text book [Stal05, p. 577] [Stal01, p. 563]
- 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?
- disk partitioning ?
- use of different file systems?
- file metadata and its managemenet?
- disk block allocation for files?
- locating a file from directory tree?
- disk system consistency?
- API?
- Problem 14.1 from text book [Stal05, p. 640] 13.1. [Stal01, p.605 ]
- 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?