Date: Mon, 24 May 1999 09:15:38 -0700 From: Mike Smith <mike@smith.net.au> To: Bruce Evans <bde@zeta.org.au> 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 Message-ID: <199905241615.JAA22022@dingo.cdrom.com> In-Reply-To: Your message of "Sun, 23 May 1999 23:11:44 %2B1000." <199905231311.XAA24127@godzilla.zeta.org.au>
next in thread | previous in thread | raw e-mail | index | archive | help
> >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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199905241615.JAA22022>