Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2007 16:57:07 +0100
From:      des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=)
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        freebsd-fs@FreeBSD.org, freebsd-geom@freebsd.org
Subject:   Re: zfs_20070303.patch on current
Message-ID:  <86k5xl5e7g.fsf@dwp.des.no>
In-Reply-To: <20070313154953.GA3108@garage.freebsd.pl> (Pawel Jakub Dawidek's message of "Tue, 13 Mar 2007 16:49:53 %2B0100")
References:  <20070120073117.GB60202@x12.dk> <200703061246.09687.antik@bsd.ee> <45ED5850.6050506@nipsi.de> <200703061420.36980.antik@bsd.ee> <20070307135017.GC2864@garage.freebsd.pl> <45F2EEBD.6070007@barryp.org> <86ps7evniu.fsf@dwp.des.no> <20070312142846.GA3747@garage.freebsd.pl> <86ejnur0ak.fsf@dwp.des.no> <20070313154953.GA3108@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Pawel Jakub Dawidek <pjd@FreeBSD.org> writes:
> On Mon, Mar 12, 2007 at 03:42:11PM +0100, Dag-Erling Sm?rgrav wrote:
> > Pawel Jakub Dawidek <pjd@FreeBSD.org> writes:
> > > We don't have to mount /boot to read from it. The loader reads direct=
ly
> > > from boot partition, so bascially we could make /dev/ad0s1a a small U=
FS
> > > partition that contains the kernel, zfs kernel module and /etc/fstab
> > > and it should work. Note that we currently allow for encrypting root
> > > file system the same way with geli(8).
> > Yeah, but it makes 'make installkernel' a bit non-obvious.
> You can still always mount /boot/ from /etc/fstab, I think...

Your boot filesystem needs to have roughly the following layout:

/boot.config
/boot/beastie.4th
/boot/device.hints
/boot/frames.4th
/boot/kernel/kernel
/boot/kernel/zfs.ko
/boot/loader
/boot/loader.4th
/boot/loader.conf
/boot/loader.rc
/boot/screen.4th
/boot/support.4th
/etc/fstab

You can't mount that somewhere and have it "just work" - you'll need
to mount it somewhere out of the way and have symlinks in your root
directory.  Not very convenient.  Easier to just use UFS on your root
filesystem, and use ZFS where it can make a difference (/var,
/usr/local, /home etc)

Your average root filesystem is small and fairly quiet, so the chances
of something going wrong are low and it only takes an instant to fsck.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86k5xl5e7g.fsf>