Date: Tue, 3 Oct 2000 14:57:51 -0700 From: Jonathan Lemon <jlemon@hub.freebsd.org> To: xavian anderson macpherson <professional3d@home.com> Cc: questions@freebsd.org Subject: Re: is there a /boot directory in freebsd as there is in linux? Message-ID: <20001003145751.A73409@hub.freebsd.org> In-Reply-To: <39DA4F15.1D1BB997@home.com>; from xavian anderson macpherson on Tue, Oct 03, 2000 at 02:26:45PM -0700 References: <ABC15E2D8FBCD311B4A200805FA7D59B02604014@1upmc-msx6.isdip.upmc.edu> <39DA4F15.1D1BB997@home.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 03, 2000 at 02:26:45PM -0700, xavian anderson macpherson wrote: > "Person, Roderick" wrote: > > > there is a /boot directory. I don't think it's used the same as in > > Linux. The kernel that boots the system is in /. > > > > Roderick P. Person > > Programmer II > > Crystal Administrator > > are there any BSD rules which forbid me from putting the kernel in the > directory/partition i now use as /boot? if not, why isn't this widely > used to answer the very question of having the `/' directory on a vinum > device? No. The location of the kernel is arbitrary, but must be located where the loader can find it. Since the loader doesn't understand vinum filesystems, this is why you can't put the kernel on a vinum device. In 5.x, the kernel and modules have been moved into a subdirectory of /boot, so on -current, we now have the following structure: /boot/kernel.GENERIC/kernel /vesa.ko /kernel.MACHINE/kernel /vinum.ko If you load the kernel + vinum module at boot time, I don't see any technical reason why you can't mount a vinum partition as /, and then overlay your /boot partition on top of that. However, in practical terms, mounting root is a "special" operation, and must have per-filesystem support, so the actual code to support mounting the vinum partition as / may not be present. -- Jonathan To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20001003145751.A73409>