Demo
Now we can try the whole demo example with the following commands:
Create a new file
test.disk
to hold the virtual drive volume by pre-filling the file with data:Next up we give the volume a filesystem. Here, we format it with FAT32:
Check the details of the FAT filesystem:
Mount: to mount the formatted file
test.disk
from the terminal, you will need to first create a folder to mount it to. Let’s say we want to mount it to the folder~/rd
.
** Here is the procedure:
First create the folder there.
Then mount the file
test.disk
to the folder~/rd
:Now we can create/copy files to the drive:
When we finished,
unmount
the volume by running this command:
Last updated
Was this helpful?