From owner-freebsd-stable Tue May 4 11:54:22 1999 Delivered-To: freebsd-stable@freebsd.org Received: from dingo.cdrom.com (dingo.cdrom.com [204.216.28.145]) by hub.freebsd.org (Postfix) with ESMTP id A20BF15190 for ; Tue, 4 May 1999 11:54:20 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (localhost.cdrom.com [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id LAA00444; Tue, 4 May 1999 11:53:13 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199905041853.LAA00444@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Georg-W. Koltermann" Cc: freebsd-stable@freebsd.org Subject: Re: resume-to-disk / incorrect default chosen by boot menu In-reply-to: Your message of "Tue, 04 May 1999 13:28:05 +0200." <000101be9621$2d438740$12c5fd90@hunter.munich.sgi.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Date: Tue, 04 May 1999 11:53:13 -0700 From: Mike Smith Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Please learn to format your messages. Specifically, break your lines somewhere before 80 columns. More specifically, stop using Outlook. > The good news is that suspend-to-disk works just fine with my Latitude > and 3.1R. There is something to improve, however: It doesn't seem to be working, actually. > When the system powers up after a suspend-to-disk, the FreeBSD boot > menu prompts for the partition to load. Since this is a poweron after > suspend-to-disk, it should set the default to the suspend partition so > that, if no key is pressed, it just resumes the saved image. That does > not currently happen, however. The default chosen by the boot menu is > simply the last partition that was loaded previously. This is not how suspend-to-disk works. When you power up after a = suspend-to-disk, you should resume where you suspended. > I would like to change the code to not save the default partition > explicitly, but instead use the active partition as the default. The > reason behind this change is that the BIOS (hopefully) sets the active > partition to the suspend partition when suspending to disk. The boot0 bootmanager has this behaviour (the 'default' and 'active' = flags are the same thing). > Could somebody please point me to the place where the source for the > FreeBSD boot menu lives so I can change it? a) You do not want to change this, you want boot0. b) Your suspend-to-disk is broken, so the point it rather moot. -- = \\ 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-stable" in the body of the message