How to run a vkernel as a background process

Melan Jayasinghage melannj86 at gmail.com
Sat Apr 27 22:40:44 PDT 2019


Hi Matt,

Thanks for the information, unfortunately it did not worked for me, do I
need to change anything on vkernel's /etc/ttys file to get it worked. Sorry
if it's a silly question, I am really new to BSD.

---
dfly542# uname -a
DragonFly dfly542.amdexa.com 5.4-RELEASE DragonFly v5.4.2-RELEASE #3: Sat
Apr 20 23:04:53 EDT 2019
root at www.shiningsilence.com:/usr/obj/home/justin/release/5_4/sys/X86_64_GENERIC
x86_64
dfly542#
dfly542# notty ./boot/kernel/kernel -m 128m -r /var/vkernel/rootimg.01 -I
auto:bridge0
dfly542#
dfly542#
dfly542# ps aux | grep kernel
root     800  0.0  0.1   2692   1244  0  R1+     3:59PM   0:00.00 grep
kernel
dfly542#
---


Thanks & Regards,
Melan Jayasinghage

On Sun, Apr 28, 2019 at 3:40 AM Matthew Dillon <dillon at backplane.com> wrote:

> You should be able to run the vkernel without a tty by using 'notty'
> instead of 'nohup'.  It will fork and run detached, and then you can ssh
> into it.
>
> -Matt
>


-- 
Thanks & Regards,
Melan Jayasinghage

<http://twitter.com/melanster>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.dragonflybsd.org/pipermail/users/attachments/20190428/4323a9d1/attachment-0003.htm>


More information about the Users mailing list