Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2018 14:09:34 +0000 (UTC)
From:      Eugene Grosbein <eugen@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-10@freebsd.org
Subject:   svn commit: r331928 - stable/10/sys/boot/i386/zfsboot
Message-ID:  <201804031409.w33E9YBd057429@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eugen
Date: Tue Apr  3 14:09:34 2018
New Revision: 331928
URL: https://svnweb.freebsd.org/changeset/base/331928

Log:
  MFC r331630: Fix instructions in the zfsboot manual page.
  
  zfsloader(8) fails to probe a slice containing ZFS pool if its second sector
  contains traces of BSD label (DISKMAGIC == 0x82564557).
  Fix manual page to show working example erasing such traces.
  
  _M   .
  M    sys/boot/i386/zfsboot/zfsboot.8

Modified:
  stable/10/sys/boot/i386/zfsboot/zfsboot.8
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/boot/i386/zfsboot/zfsboot.8
==============================================================================
--- stable/10/sys/boot/i386/zfsboot/zfsboot.8	Tue Apr  3 14:05:40 2018	(r331927)
+++ stable/10/sys/boot/i386/zfsboot/zfsboot.8	Tue Apr  3 14:09:34 2018	(r331928)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd September 15, 2014
+.Dd March 27, 2018
 .Dt ZFSBOOT 8
 .Os
 .Sh NAME
@@ -99,9 +99,9 @@ can also be installed in an MBR slice:
 .Bd -literal -offset indent
 gpart create -s mbr ada0
 gpart add -t freebsd ada0
-gpart create -s BSD ada0s1
 gpart bootcode -b /boot/boot0 ada0
 gpart set -a active -i 1 ada0
+dd if=/dev/zero of=/dev/ada0s1 count=2
 dd if=/boot/zfsboot of=/dev/ada0s1 count=1
 dd if=/boot/zfsboot of=/dev/ada0s1 iseek=1 oseek=1024
 .Ed



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