Question

Disk Free Utility

Enter df -B 4096 to execute the disk free utility. The “-B 4096” tells the utility that you want its output to be displayed in units of 4K blocks.

  1. Calculate the size of the root directory (/) in KB, MB, or GB
  2. What is the path of the device to which root is mounted?

root@ubuntu: /home/ubuntu# Filesystem udev tmpfs /dev/sro /dev/loopo /cow tmpfs tmpfs tmpfs tmpfs tmpfs /dev/loop1 /dev/Loop2

0 0
Add a comment Improve this question Transcribed image text
Answer #1
  1. Calculate the size of the root directory (/) in KB, MB, or GB

Size of the root directory in KB:

$   df /root -B 1024

   Size of the root directory in MB:

$ df /root -B 1048576

Size of the root directory in GB:

$ df /root -B 1073741824

2.  What is the path of the device to which root is mounted?

  Below is the example output of the df command :

  Filesystem 1M-blocks Used Available Use% Mounted on
/dev/sda1 51001 21077 27312 44% /

  The df command gives Mounted on column in the output, the value of that column is the path where

root is mounted on.

ExampleScreenshots:

ashok@ashok-VirtualBox: df /root -B 1024 Filesystem /dev/sdal ashok@ashok-VirtualBox:-$ df /root -B 1048576 Filesystem /dev/s

Add a comment
Know the answer?
Add Answer to:
Disk Free Utility Enter df -B 4096 to execute the disk free utility. The “-B 4096” tells the util...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT