Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

can you please do this question for me I am having a hard time understanding it Description To dump and access the super block on

can you please do this question for me I am having a hard time understanding it

Description To dump and access the super block on a Linux File System.

Requirements

You must write a program written in C that will access and display the contents of the superblock on a Linux File System.

The output must be formatted and readable.

The name of your program must be: fs_info.c

Your program must be located in $HOME/itec400/homework

Make sure the permissions on fs_info.c are set to 705.

Consider using the function statfs() [see man page]

Display the magic number

Display total number of data blocks

Display total number of free blocks

Display total number of inodes

Display total number of free inodes

You must be root to execute the program

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Relational Theory Normal Forms And All That Jazz

Authors: Chris Date

1st Edition

1449328016, 978-1449328016

More Books

Students also viewed these Databases questions