Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Mar 1999 12:30:43 -0800
From:      Mike Smith <mike@smith.net.au>
To:        Robert Nordier <rnordier@nordier.com>
Cc:        ru@ucb.crimea.ua (Ruslan Ermilov), hackers@freebsd.org
Subject:   Re: [BTX loader]: boot command doesn't work as expected 
Message-ID:  <199903142030.MAA08229@dingo.cdrom.com>
In-Reply-To: Your message of "Sat, 14 Mar 1999 22:15:09 %2B0200." <199903142015.WAA09907@ceia.nordier.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > Hi!
> > 
> > boot -c		- works
> > boot /kernel	- works
> > boot -c /kernel	- doesn't work
> > 
> > Any clue?
>  
> What are you actually getting, when it doesn't work?  Is the -c option
> simply ignored?  I ask because I've tried about 8 times here, using
> various permutations, and got some unexpected results.  Though, in all
> cases, I did get a "config>" prompt.  Is the behavior consistently
> reproducible?

The loader explicitly checks argv[1] for a kernel name in command_boot. 
If you put an argument first, the kernel name will be passed to the MD 
boot code as an argument as well.  Not what the user wantsm for sure.

-- 
\\  Sometimes you're ahead,       \\  Mike Smith
\\  sometimes you're behind.      \\  mike@smith.net.au
\\  The race is long, and in the  \\  msmith@freebsd.org
\\  end it's only with yourself.  \\  msmith@cdrom.com




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199903142030.MAA08229>