vkernel rc.d start/stop script
Nuno Antunes
nuno.antunes at gmail.com
Wed Jun 13 08:05:12 PDT 2007
Hi!
Is the attached script useful? Or even correct? It seems to be working
on my system.
It introduces some new rc.conf variables, here's an example:
vkernel="yes"
vkernel_list="example"
vkernel_example_bin=/usr/obj/usr/src/sys/VKERNEL/kernel.debug
vkernel_example_memsize="64m"
vkernel_example_rootimg_list="/var/vkernel/example.01"
vkernel_example_iface_list="auto:bridge0"
vkernel_example_logfile="/var/log/vkernel/example.console"
vkernel_example_flags="-U"
Some variables can take more that one parameter, namely:
vkernel_list (list of vkernels to start)
vkernel_example_rootimg_list (list of disk root images for the vkernel)
vkernel_example_iface_list (list of network interfaces of the vkernel)
vkernel_example_flags (additional flags)
It could go nicely with Chris host initiated vkernel shutdown patch. :-)
Thanks,
Nuno
Attachment:
vkernel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bin00003.bin
Type: application/octet-stream
Size: 2010 bytes
Desc: "Description: Binary data"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20070613/2f57c26b/attachment-0018.bin>
More information about the Submit
mailing list