Date: Wed, 14 Oct 2009 14:13:42 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/boot/i386/zfsboot zfsboot.c Message-ID: <200910141413.n9EEDsww037047@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2009-10-14 14:13:42 UTC FreeBSD src repository Modified files: sys/boot/i386/zfsboot zfsboot.c Log: SVN rev 198079 on 2009-10-14 14:13:42Z by jhb Use zfs_read() instead of xfsread() to read /boot.config. xfsread() fails short read requests, so the result was that a /boot.config smaller than 512 bytes was ignored. boot2 uses fsread() instead of xfsread() to read /boot.config already, so this makes zfsboot more like boot2. Submitted by: Johny Mattsson johny-freebsd of earthmagic org Reviewed by: dfr MFC after: 3 days Revision Changes Path 1.4 +1 -1 src/sys/boot/i386/zfsboot/zfsboot.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910141413.n9EEDsww037047>