From owner-freebsd-questions@FreeBSD.ORG Wed Jul 3 04:37:27 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id BD573C2A for ; Wed, 3 Jul 2013 04:37:27 +0000 (UTC) (envelope-from talayeh.asadi@gmail.com) Received: from mail-ie0-x232.google.com (mail-ie0-x232.google.com [IPv6:2607:f8b0:4001:c03::232]) by mx1.freebsd.org (Postfix) with ESMTP id 90FBA1B2D for ; Wed, 3 Jul 2013 04:37:27 +0000 (UTC) Received: by mail-ie0-f178.google.com with SMTP id u16so13539486iet.23 for ; Tue, 02 Jul 2013 21:37:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:reply-to:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=YVhFdI7X8jKRg8AvzUrRfjRYDcd2bovs915Tf+h/7q0=; b=UmyYdy5HQataAWtuMcCv+eQf5jZ+zMApzMsMuX08BxJPs/iIb3AqChChb8C2KGnbgU vGgz7Y7gAsHhw2DqKwoQKHy0x8XW3XaXT7Db7VWKpB2TNyUomHUqd+vMbl6Gov4l8/a9 rQ3U1NPzj3jjpvJuym6NrJsK1Y0ocZySpIES9k6fuI+Q+ePuGxJwdOY9xWm6eAsBmVh9 glGr8XUYDpJPzo6S79/JYMRC5kiAYdjvWCb3acNVsN1q+4Kox+O8dOTgAq6gkYP7DuCo 0cW4kerRmRcCPbtY11dm3VhwsXUfjgfMzU0wEBiW1ErWMOJihRn6iil8dtZnBNb7Lrin HnBA== X-Received: by 10.42.189.195 with SMTP id df3mr1065696icb.78.1372826247213; Tue, 02 Jul 2013 21:37:27 -0700 (PDT) MIME-Version: 1.0 Sender: talayeh.asadi@gmail.com Received: by 10.42.153.10 with HTTP; Tue, 2 Jul 2013 21:37:07 -0700 (PDT) In-Reply-To: <20130703040529.12eb964a.freebsd@edvax.de> References: <20130702084057.143d3eeb.freebsd@edvax.de> <20130703040529.12eb964a.freebsd@edvax.de> From: takCoder Date: Wed, 3 Jul 2013 09:07:07 +0430 X-Google-Sender-Auth: Fw7TKpquzusJRjsrKDLs-oqb0Hc Message-ID: Subject: Re: any way to stop boot2 from waiting for keypress at system startup To: Polytropon Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: tak.official@gmail.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jul 2013 04:37:27 -0000 Yes you are right :) If i knew the feature's name, it would be easier to find this option out.. Actually i found mentioned flag while tracing boot2.c code... Anyway, Thank you for your complete reply :) On Wed, Jul 3, 2013 at 6:35 AM, Polytropon wrote: > On Tue, 2 Jul 2013 15:18:04 +0430, takCoder wrote: > > i found the answer! if i add a "-n" parameter to /boot.config file, the > > mentioned feature will be disabled.. > > Sorry for my confusion. The option you've successfully found > is documented in "man 8 boot" (which also provides a short > description of the stages performed at system boot). That's > why it's good to know how the different components of the > boot process are named so it becomes more logical where to > search. :-) > > From the manual page: > > -n ignore key press to interrupt boot before loader(8) > is invoked. > > Explained: > > However, it is possible to dispense with the third stage altogether, > either by specifying a kernel name in the boot block parameter file, > /boot.config, or, unless option -n is set, by hitting a key during a > brief pause (while one of the characters -, \, |, or / is displayed) > before loader(8) is invoked. Booting will also be attempted at stage > two, if the third stage cannot be loaded. > > It's always good to know where thine documentation is. ;-) > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... >