Question
Creating and mounting file system how to do the following steps (step1 ~ step5) on linux environment, and answer questions (question1 ~ question 3) Step:
Creating and mounting file system how to do the following steps (step1 ~ step5) on linux environment, and answer questions (question1 ~ question 3)
Step: step 1. Use the fdisk command to add a new 500MB logical partition to your hard drive.
step 2. Use the fdisk -l command to verify that the new partition has been created.
step 3. Format this partition with an ext4 file system that contains 800 inodes and block size is 4096 bytes.
step 4. Edit /etc/fstab and reboot to mount file system.
step 5. Use the df command to confirm whether the mount is success.
Question :
question 1. Try to create directories in this file system as many as you can. How many directories can be created in this file system? Why? (Hint: inode)
question 2. Try to create 1-byte files in this file system as many as you can. How many 1-byte files can be created in this file system? Can it completely use all space in this file system? (Hint: block size is 4096 bytes)
question 3. Try to create a file which size as large as you can. What is the maximum file size? Can it completely use all space in this file system?
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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