A Minix Disk Program (Due at 11:59:59pm on 03/31/2020 (EDT))

Imebatilisha Ilichapishwa Miaka 3 iliyopita Kulipwa wakati wa kujifungua
Imebatilisha Kulipwa wakati wa kujifungua

// C programming.

Develop a Minix Disk program that allows users to access a Minix disk locally mounted on a computer. In your program, all file I/O related operations should use the system calls, including open(), read(), write(), lseek(), close(), and you should not use those library functions like fopen() and fread(). Your implementation must work on Linux machine.

Required Modules:

[90%] Client Environment (a minix console): the console (interface) allows users to access the minix disk by using the following commands:

[5%] help: show the commands supported in the minix console.

[5%] minimount argument: mount a local minix disk, where "argument" is a iminix image file, e.g., imagefile.img.

[5%] miniumount: umount the mounted minix disk.

[10%] showsuper: to list the information of the super block. For example:

minix: showsuper

number of inodes: 3424

number of zones: 10240

number of imap_blocks: 1

number of zmap_blocks: 2

first data zone: 112

log zone size: 0

max size: 268966912

magic: 5007

state: 0

zones: 0

Note that the above numbers should be extracted from the minix disk rather than being hard coded (you won't received any credit for the hard coding).

[30%] traverse [-l]: list the content in the root directory. Note that you don't have to show the entries of "." and "..". For example:

minix: traverse

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

dir1

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

When switch -l is turned on (long list), all detailed information is shown, including the file type, 9 permission bits, user ID, file size (in bytes), last modified date (with year), and the file/path name. For example:

minix: traverse -l

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

dir1

[login to view URL]

[login to view URL]

[login to view URL]

[login to view URL]

When switch -l is turned on (long list), all detailed information is shown, including the file type, 9 permission bits, user ID, file size (in bytes), last modified date (with year), and the file/path name. For example:

minix: traverse -l

-rw-rw-r-- 1000 670 Sep 20 2012 [login to view URL]

-rw-r--r-- 1000 763 Dec 14 2010 [login to view URL]

-rw-r--r-- 1000 333 Dec 14 2010 [login to view URL]

-rw-r--r-- 1000 786 Dec 14 2010 [login to view URL]

-rw-r--r-- 1000 404 Dec 14 2010 [login to view URL]

-rw-r--r-- 1000 786 Dec 14 2010 [login to view URL]

-rw-r--r-- 1000 408 Dec 14 2010 [login to view URL]

-rw-rw-r-- 1000 358 Sep 20 2012 [login to view URL]

-rw-r--r-- 1000 1067 Dec 14 2010 [login to view URL]

-rw-r--r-- 1000 444 Dec 14 2010 [login to view URL]

-rw-rw-r-- 1000 508 Sep 20 2012 [login to view URL]

-rw-r--r-- 1000 967 Dec 14 2010 [login to view URL]

-rw-r--r-- 1000 648 Dec 14 2010 [login to view URL]

drwx------ 1000 128 Oct 27 2014 dir1

-rw-rw-r-- 1000 630 Sep 20 2012 [login to view URL]

-rw-rw-r-- 1000 1063 Sep 20 2012 [login to view URL]

-rw-r--r-- 1000 226 Dec 14 2010 [login to view URL]

-rw-r--r-- 1000 278 Dec 14 2010 [login to view URL]

The rest of the assignment is not added due to character limitation. I have attached Screen Shot of it.

C Programming Uprogramu C++ Linux Software Architecture

Kitambulisho cha Mradi: #24663688

Kuhusu mradi

2 mapendekezo Mradi wa mbali Ipo mtandaoni %project.latestActivity_relativeTime|badilisha%

2 wafanyakazi huru wanazabuni wastani wa $195 kwa kazi hii

jonyahmed105

Hi I can do this task. Thanks

$250 USD kwa siku 3
(Maoni 22)
5.0
Mariaarooj7

I have read your project and I am an expert in this field. I can do this for you within due time and honestly. I also have a few questions to discuss. Kindly contact me and we will discuss time and budget. Thanks

$140 USD kwa siku 7
(Maoni 0)
0.0