dev/loopX when mounting a regular file
Hi!
I have created a filesystem inside a regular file: 1. Created a dummy 2GB file. 2. Created the partition with Code:
fdisk <file> Code:
mkfs.ext4 <file> Code:
file <file> 5. Added it to Code:
/etc/fstab 6. Remounted all with Code:
mount -a Code:
lsblk Code:
df -h I don't know how to interpret this. Moreover, am I missing something? Thanks a lot! |
Use the absolute path to the file not the UUID. /etc/fstab line like:
Code:
/path/to/file /mount/point ext4 loop 0 0 |
Quote:
Anyway, what does the "loop" mean? I have plenty of /dev/loopX in the system. Thanks! |
Those loops are used for other stuff. A loop let's the system use a file like a block device, filesystem.
|
Quote:
|
All times are GMT -5. The time now is 07:53 PM. |