Add some documentations.
This commit is contained in:
22
DOC/README.mount_iso
Normal file
22
DOC/README.mount_iso
Normal file
@ -0,0 +1,22 @@
|
||||
|
||||
# - LX Container configuration:
|
||||
# -
|
||||
lxc.aa_profile = unconfined
|
||||
lxc.cgroup.devices.allow = b 7:* rwm
|
||||
lxc.cgroup.devices.allow = c 10:237 rwm
|
||||
|
||||
# - Note!
|
||||
# - Inside the container, you have to create /dev/loop0
|
||||
# -
|
||||
# - sudo mknod /dev/loop0 b 7 0
|
||||
|
||||
|
||||
# - Verify if it works:
|
||||
# -
|
||||
# - $ truncate --size 100M my.img
|
||||
# - $ mkfs.ext4 -F my.img
|
||||
# - $ sudo mount -o loop,ro my.img /mnt
|
||||
# - $ ls /mnt
|
||||
# - lost+found
|
||||
# - $ sudo umount /mnt
|
||||
# -
|
Reference in New Issue
Block a user