From owner-cvs-all Mon May 24 9:17:56 1999 Delivered-To: cvs-all@freebsd.org Received: from dingo.cdrom.com (castles504.castles.com [208.214.165.68]) by hub.freebsd.org (Postfix) with ESMTP id E126714E41; Mon, 24 May 1999 09:17:52 -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 JAA22022; Mon, 24 May 1999 09:15:39 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199905241615.JAA22022@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: Bruce Evans Cc: jb@FreeBSD.org, phk@critter.freebsd.dk, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Subject: Re: cvs commit: src/sys/kern vfs_conf.c In-reply-to: Your message of "Sun, 23 May 1999 23:11:44 +1000." <199905231311.XAA24127@godzilla.zeta.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 24 May 1999 09:15:38 -0700 From: Mike Smith Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk > >I think this should be fixed by setting the rootdev to the (pseudo) > >devsw entry for MFS which should be created correctly (see the > >patch I sent out for test earlier today). > > No, setting rootdev is bogus; rootdev is not used for mfs. `rootdev != > NODEV' is just used as a flag in vfs_conf.c when it probably shouldn't be. > I may have broken this when I added rootdevnames[]. Things used to work > for mfs because rootdev was set to a garbage value that happened to be > != NODEV. I currently use the garbage value 0 (set it in autoconf.c). I have some patches which eliminate the use of rootdev for ffs, but still use it for NFS and other filesystems. I was going to commit these but decided that perhaps _all_ of the rootfs-specific information should be parcelled in the rootdevnames[] data, including the VFS to be used for each mount. This would be more generalised, and make for more flexibility, but I'm not sure if this would actually be a specific win. Comments? -- \\ The mind's the standard \\ Mike Smith \\ of the man. \\ msmith@freebsd.org \\ -- Joseph Merrick \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message