Date: Mon, 10 May 1999 06:31:43 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Mike Smith <mike@smith.net.au> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src/sys/conf options src/sys/i386/i386 autoconf.c src/sys/i386/conf GENERIC LINT Makefile.i386 files.i386 Message-ID: <23558.926310703@critter.freebsd.dk> In-Reply-To: Your message of "Sun, 09 May 1999 19:44:05 PDT." <199905100244.TAA10132@dingo.cdrom.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Feel free to do so. In message <199905100244.TAA10132@dingo.cdrom.com>, Mike Smith writes: >> You can still configure a root device (which is used if you give >> the "-r" flag) but now with an option: >> >> options ROOTDEVNAME=\"da0s2e\" >> >> The string is parsed by the same code as at the "boot -a" prompt. > >Could you use something like: > > rootdevname = getenv("kern.rootdev.name"); >#ifdef ROOTDEVNAME > if (!rootdevname) > rootdevname = ROOTDEVNAME; >#else > if (!rootdevname) > rootdevname = ... old guessing behaviour > >so that the loader can unconditionally override the root device name? >I have this crazy plan to read /etc/fstab to try find the root device >before starting the kernel, which should make all this crap about >guessing it based on the disk label obsolete. > >-- >\\ 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 > > > > -- Poul-Henning Kamp FreeBSD coreteam member phk@FreeBSD.ORG "Real hackers run -current on their laptop." FreeBSD -- It will take a long time before progress goes too far! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?23558.926310703>