[Bug 251121] rc.d/zfsbe can't properly mount child datasets

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Nov 15 05:03:00 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251121

--- Comment #2 from Kevin P. Neal <kpneal at pobox.com> ---
/ROOT   gs1p/ROOT       on      yes
/ROOT/12.2      gs1p/ROOT/12.2  on      yes
/ROOT/FreeBSD_11.3-RELEASE-p2   gs1p/ROOT/FreeBSD_11.3-RELEASE-p2       noauto 
yes
/ROOT/FreeBSD_11.3-RELEASE-p2/usr       gs1p/ROOT/FreeBSD_11.3-RELEASE-p2/usr  
noauto  yes
/ROOT/FreeBSD_11.3-RELEASE-p2/usr/local
gs1p/ROOT/FreeBSD_11.3-RELEASE-p2/usr/local     noauto  yes
/ROOT/FreeBSD_11.3-RELEASE-p2/usr/src  
gs1p/ROOT/FreeBSD_11.3-RELEASE-p2/usr/src       noauto  yes
/ROOT/FreeBSD_12.2-RELEASE      gs1p/ROOT/FreeBSD_12.2-RELEASE  on      yes
/ROOT/FreeBSD_12.2-RELEASE/usr  gs1p/ROOT/FreeBSD_12.2-RELEASE/usr      on     
yes
/ROOT/FreeBSD_12.2-RELEASE/usr/local   
gs1p/ROOT/FreeBSD_12.2-RELEASE/usr/local        noauto  yes
/ROOT/FreeBSD_12.2-RELEASE/usr/src      gs1p/ROOT/FreeBSD_12.2-RELEASE/usr/src 
on      yes

In my version of the script it compares mountpoints with the boot environment's
non-boot mountpoint. Which I believe will accomplish the intended purpose of
only matching mountpoints that are children of the boot environment. This in
turn should work in both the filesystem "/ROOT" case and the "/<poolname>/ROOT"
case.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-rc mailing list