Alexander Nasonov wrote: > Module Name: src > Committed By: alnsn > Date: Thu Feb 3 20:52:44 UTC 2022 > > Modified Files: > src/etc: rc.subr > > Log Message: > Add mount_critical_filesystems_zfs > > The new function is similar to mount_critical_filesystems > but it walks through ZFS datasets and mounts matching entries.
I plan to intoduce a new rc.conf variable critical_filesystems_zfs which is essentially the same as critical_filesystems_local but for ZFS. Although the new variable can be avoided if my code is merged into existing mount_critical_filesystems(), and all critical filesystems (ZFS or not) are mounted in one pass through critical_filesystems_local variable, it will mix two very different styles of mounting and compilate the code. One extra variable shouldn't be a problem for most users but it will help to keep rc.subr neater. -- Alex