Differences

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

Link to this comparison view

vnconfig [2013/03/29 13:18]
vnconfig [2013/03/29 13:18] (current)
Line 1: Line 1:
 +====== vnconfig ======
  
 +  * [[NetBSD]]
 +  * [[Xen]]
 +
 +Use vnconfig to access virtual devices as harddrives.
 +
 +== List active devices ==
 +
 +<​code>​
 +vnconfig -l
 +</​code>​
 +
 +
 +== Create a 4GB virtual drive ==
 +
 +<​code>​
 +dd if=/​dev/​zero bs=1024k count=4096 of=hdd.img
 +</​code>​
 +
 +Create as a virtual device:
 +
 +<​code>​
 +vnconfig vnd0 hdd.img
 +</​code>​
 +
 +== Release a device ==
 +
 +<​code>​
 +vnconfig -u vnd0
 +</​code>​