User Tools

no way to compare when less than two revisions

Differences

This shows you the differences between two versions of the page.


cctv [2022/11/08 11:13] (current) – created norman
Line 1: Line 1:
 +====== How To Create Virtual Disk For CCTV ======
  
 + Will create 64 GB disk and mount it:
 +<code>dd if=/dev/zero of=cam03.img bs=1M count=64000</code>
 +
 +Create filesystem:
 +<code>mkfs ext4 -F cam03.img</code>
 +
 + Create a mount directory
 +<code>mkdir /mnt/cam03
 +chown nobody:nogroup /mnt/cam03</code>
 +
 +Mount image:
 +
 +<code>mount -o loop,rw,sync /mnt/MAIN/CCTV/cam03.img /mnt/cam03</code>