As before, this is an individual or group project.
I want you to add a new ram disk device to your Minix system. This should be a disk of size 4,194,304 bytes (4MB, 4 * 1024 * 1024 bytes). This assumes you have much more than 4MB of memory in your system.
The project consists in creating such a device and making it work. It should be possible to mount(1) your device, which should be called /dev/mydisk -- you may or may not need to create this device with mknod(8) once you have completed your changes to memory.c. To convince yourself that your disk works, you should copy one or more source files to it and compile them, then execute the code.
Because the project is relatively simple, this project description gives few details. You are expected to figure out the details yourself. This includes, where appropriate, consulting with the instructor and using the mailing list to consult with your colleagues.
The project should be sent in by email. Please send me the following:
# define MY_DEV 6 /* minor device for /dev/mydisk */in include/minix/dmap.h, there is no need to include this particular detail in the project submission.