DragonFly kernel List (threaded) for 2007-08
DragonFly BSD
DragonFly kernel List (threaded) for 2007-08
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: vkernel, vkd and vcd boot order


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxx>
Date: Sun, 19 Aug 2007 17:13:18 -0700 (PDT)

:Hello Again.
:
:> According to the manpage, the first -r or -c image will be the boot
:> disk, but here, in whatever order they are, it always tries to boot from
:> the virtual cdrom.
:To solve this, I added a flag (-b) to choose the type of boot device,
:disk or cdrom.
:
:I attach the patch, but be kind, is this the first time I touch a C
:source, all I know is sysadmin shell scripting.
:
:Regards,
:
:-- 
:Clement Martin

    Not bad.  How would you like to do it a slightly different way?  Instead
    of adding a new option, patch the program so it does what the man page
    originally thought it did.  Just detect which option (-r or -c) is
    specified first with a little logic in the code and implement your -b
    equivalent internally.

						-Matt




[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]