Question
df is a command that displays the amount of disk space available on the file system containing each file name argument. Read man page of
df is a command that displays the amount of disk space available on the file system containing each file name argument. Read man page of df command. Run the command df to find out how many disk blocks are available and how many are in use. Does the sum of these equals the total number of disk blocks on the disk? If not, explain why there is a difference. Next run the command df i to find out how many inodes are available and in use. Now create a new file with just a few characters in it, and again run df and df i commands. Explain the effect of creating this new file. Now increase the size of this new file by entering a large number (> 5000) of characters, and again run df and df i commands. Explain the effect of increasing the size of the new file.
What do you turn in?
- 1 Answer to the question regarding the sum of the available disk blocks and those in use compared to the total number of disk blocks on the disk and an explanation of why there is a difference.
- 2 Explanation of the effect of creating a new file with just a few characters in it in regards to disk space on the file system.
- 3 Explanation of the effect of creating a new file with a large number of characters in it in regards to disk space on the file system. Be sure to include the effect of increasing the size of the new file.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started