63
edits
Changes
→PART A (Container is a file):
with password 'seneca99'.</li>
<li>Open a console window and switch to superuser with this command:<br>
</li>
<li>Create a regular file (filled with zeros) which will be the
container for our file system.
Use this command:<br>
</li>
<li>Use the losetup command to associate your file with /dev/loop0
like this:<br>
</li>
<li>Now create a file system in the container:<br>
</li>
<li>Make a directory to be a mount point for the file system:<br>
</li>
<li>Mount the file system:<br>
</li>
<li>Record the output of the following command:<br>
</li>
<li>Unmount the file system<br>
</li>
<li>Delete the loop device<br>
</li>
<li>Delete the fakedisk fileusing the rm command.<br>
</li>
<li>Answer the questions 1 to 4 in PART D, then do PART B.<br>
</li>
</ol>
=== PART B (Container is a partition): ===
Perform the following steps: