Date: Sun, 09 May 1999 09:52:31 +0200 From: Poul-Henning Kamp <phk@critter.freebsd.dk> To: Jos Backus <Jos.Backus@nl.origin-it.com> Cc: current@FreeBSD.ORG Subject: Re: mountroot problem Message-ID: <19104.926236351@critter.freebsd.dk> In-Reply-To: Your message of "Sat, 08 May 1999 23:19:49 %2B0200." <19990508231949.A93718@hal.mpn.cp.philips.com>
next in thread | previous in thread | raw e-mail | index | archive | help
I found it, will commit in a sec. Sorry. Poul-Henning In message <19990508231949.A93718@hal.mpn.cp.philips.com>, Jos Backus writes: >Some more information: > >In sys/i386/i386/autoconf I'm seeing the following happen: > >static void >setroot() >{ > int majdev, mindev, unit, slice, part; > dev_t newrootdev; > char partname[2]; > char *sname; > > if (boothowto & RB_DFLTROOT || (bootdev & B_MAGICMASK) != B_DEVMAGIC) > return; > majdev = B_TYPE(bootdev); > printf("setroot: majdev=%d,bdevsw(majdev)=%p\n",majdev,bdevsw(majdev)); > if (majdev >= nblkdev || bdevsw(majdev) == NULL) > return; > unit = B_UNIT(bootdev); > slice = B_SLICE(bootdev); > >etc. > >which prints > > setroot: majdev=4,bdevsw(majdev)=0 > >Thus the function returns, without setting the name of the root device further >on in the code (it would appear that that is where it happens). > >-- >Jos Backus _/ _/_/_/ "Reliability means never > _/ _/ _/ having to say you're sorry." > _/ _/_/_/ -- D. J. Bernstein > _/ _/ _/ _/ >Jos.Backus@nl.origin-it.com _/_/ _/_/_/ use Std::Disclaimer; > > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-current" in the body of the message > -- 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 freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19104.926236351>