Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 15 Nov 2020 05:03:00 +0000
From:      bugzilla-noreply@freebsd.org
To:        rc@FreeBSD.org
Subject:   [Bug 251121] rc.d/zfsbe can't properly mount child datasets
Message-ID:  <bug-251121-20181-n9ORjrnuSa@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-251121-20181@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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

--- Comment #2 from Kevin P. Neal <kpneal@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.

help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-251121-20181-n9ORjrnuSa>