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

2023-06-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251121

--- Comment #6 from Anton Saietskii  ---
(In reply to Anton Saietskii from comment #5)
BTW, comments are confusing. In the above example, zroot/ROOT/default/somedir
dataset will get /somedir mountpoint, but will be matched by "*)", which says
"filesystems with mountpoint elsewhere". In fact, /somedir isn't "elsewhere",
but indeed relative to BE both by dataset name and mountpoint.

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


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

2023-06-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=251121

Anton Saietskii  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #5 from Anton Saietskii  ---
(In reply to Andriy Gapon from comment #1)
>> I want to clarify that the script does not confuse dataset names and mount 
>> point names.
>> The script assumes that for filesystems used as boot environments a 
>> mountpoint is always
>>a default one (i.e., $mountpoint == /$ds_name).

But it's not a case for default installation:
test@localhost:~ % freebsd-version -ku ; uname -a ; zfs list -rH -o
mountpoint,name,canmount,mounted -s mountpoint -t filesystem zroot/ROOT
13.2-RELEASE
13.2-RELEASE
FreeBSD localhost.localdomain 13.2-RELEASE FreeBSD 13.2-RELEASE
releng/13.2-n254617-525ecfdad597 GENERIC amd64
/   zroot/ROOT/default  noauto  yes
nonezroot/ROOT  on  no
test@localhost:~ %

This is what installer from 13.2-RELEASE-disc1 created for me.

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