git: 6addb71a83 - main - Add missing devfs vmmctl rule and the volmode=dev to the example
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 29 Oct 2026 15:30:59 UTC
The branch main has been updated by bcr:
URL: https://cgit.FreeBSD.org/doc/commit/?id=6addb71a83324ec4b64e4168f36a7d5bfbf843ad
commit 6addb71a83324ec4b64e4168f36a7d5bfbf843ad
Author: Sarder Kamal <s.kamal@mdx.ac.uk>
AuthorDate: 2026-10-29 15:26:46 +0000
Commit: Benedict Reuschling <bcr@FreeBSD.org>
CommitDate: 2026-10-29 15:30:36 +0000
Add missing devfs vmmctl rule and the volmode=dev to the example
When vmmctl is not set to unhide in devfs.rules, the example will fail.
Add it to the instructions. Further, add a volmode=dev to the zvol
creation command to not get an input/output error.
PR: 299724
Event: Olso Hackathon 2026
---
documentation/content/en/books/handbook/virtualization/_index.adoc | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/documentation/content/en/books/handbook/virtualization/_index.adoc b/documentation/content/en/books/handbook/virtualization/_index.adoc
index b5cfb5222e..c146554923 100644
--- a/documentation/content/en/books/handbook/virtualization/_index.adoc
+++ b/documentation/content/en/books/handbook/virtualization/_index.adoc
@@ -1828,7 +1828,7 @@ Then create a ZFS zvol for the virtual machine `bhyvevm0`:
[source,shell]
....
# zfs create zroot/vms
-# zfs create -V 20G zroot/vms/bhyvevm0
+# zfs create -V 20G -o volmode=dev zroot/vms/bhyvevm0
....
If not using ZFS, use the following commands to create a disk image file directly in the jail directory structure:
@@ -1871,6 +1871,7 @@ add path 'vmm' unhide
add path 'vmm/*' unhide
add path 'vmm.io' unhide
add path 'vmm.io/*' unhide
+add path 'vmmctl' unhide
add path 'nmdmbhyve*' unhide
add path 'zvol' unhide
add path 'zvol/zroot' unhide