FreeBSD 10 installer and ZFS root

David Christensen dpchrist at holgerdanske.com
Tue Mar 11 04:00:40 UTC 2014


On 03/10/2014 08:30 PM, dteske at FreeBSD.org wrote:
>> From: David Christensen [mailto:dpchrist at holgerdanske.com]
>> I crawled through zfsboot and found the
>> spot where the root partition is created for MBR (lines 757-758).
> What release? Because I'm seeing those 2 lines (757-758) as:
> 	757	<blank line>
> 	758	#

My bad -- nl doesn't number blank lines by default:

root at p43200:~ # head -n 1 /media/cdrom/RELNOTES.TXT
                        FreeBSD 10.0-RELEASE Release Notes

root at p43200:~ # nl -ba /media/cdrom/usr/libexec/bsdinstall/zfsboot | 
head -n 838 | tail -n 2
    837			f_eval_catch $funcname gpart "$GPART_ADD_INDEX" \
    838				     $mbrindex freebsd-zfs ${disk}s1 || return $FAILURE


David



More information about the freebsd-questions mailing list