| History log of /src/etc/rc.d/zfs |
| Revision | | Date | Author | Comments |
| 1.6 |
| 03-Aug-2021 |
mlelstv | Reverse devpubd dependeny to avoid dangling reference to zfs which is an optional part of the build.
|
| 1.5 |
| 09-Dec-2019 |
sevan | branches: 1.5.4; This script just makes sure that the ZFS module loads and unloads, mountall script takes care of mounting filesystems. Don't try to unmount all file systems before unloading the ZFS module, leave that to the operator in preperation or the mountall script to take care of. Module will of course fail to unload then if file systems are still mounted.
|
| 1.4 |
| 08-Dec-2019 |
sevan | We don't need to require the presence of /etc/zfs/zpool.cache to unmount & unload the module, just like for the start target.
|
| 1.3 |
| 04-Dec-2019 |
jmcneill | Add missing rcvar=$name
|
| 1.2 |
| 01-Dec-2019 |
jmcneill | Attempt to load the zfs module even if /etc/zfs/zpool.cache is absent. The module needs to be loaded to create a pool in the first place, and autoloading won't work after the fact won't work at securelevel=1.
|
| 1.1 |
| 15-Sep-2019 |
brad | branches: 1.1.2;
Add support for legacy ZFS filesystems, specified by mountpoint=legacy in the ZFS properties of the dataset and a simple man page for mount_zfs. With this, it is possible to put ZFS filesystems in /etc/fstab as file system type zfs.
Add a rc.d script that kicks the module ZFS load mostly before mountall runs simular to what LVM does. This allows for any legacy mounts to be specified in critical_local_filesystems and allows for ZFS pools on top of cgd (probably among other things). Introduce a rc.conf variable called zfs which needs to be set to YES, in the usual manor of things, to get zvols and ZFS dataset support rather then just assume that 'zfs mount' does that in mountall. Fix a problem in mountall if ZFS is not compiled into the system.
|
| 1.1.2.4 |
| 11-Dec-2019 |
martin | Pull up following revision(s) (requested by sevan in ticket #539):
etc/rc.d/zfs: revision 1.4 etc/rc.d/zfs: revision 1.5
We don't need to require the presence of /etc/zfs/zpool.cache to unmount & unload the module, just like for the start target.
This script just makes sure that the ZFS module loads and unloads, mountall script takes care of mounting filesystems.
Don't try to unmount all file systems before unloading the ZFS module, leave that to the operator in preperation or the mountall script to take care of. Module will of course fail to unload then if file systems are still mounted.
|
| 1.1.2.3 |
| 08-Dec-2019 |
martin | Pull up following revision(s) (requested by jmcneill in ticket #516):
etc/rc.d/zfs: revision 1.2 etc/rc.d/zfs: revision 1.3
Attempt to load the zfs module even if /etc/zfs/zpool.cache is absent. The module needs to be loaded to create a pool in the first place, and autoloading won't work after the fact won't work at securelevel=1.
Add missing rcvar=$name
|
| 1.1.2.2 |
| 27-Sep-2019 |
martin | Pull up following revision(s) (requested by brad in ticket #250):
external/cddl/osnet/sbin/zfs/mount_zfs.8: revision 1.2 external/cddl/osnet/sbin/zfs/mount_zfs.8: revision 1.3 external/cddl/osnet/sbin/zfs/mount_zfs.8: revision 1.4 external/cddl/osnet/sbin/zfs/mount_zfs.8: revision 1.5 distrib/sets/lists/man/mi: revision 1.1652 distrib/sets/lists/man/mi: revision 1.1653 distrib/sets/lists/etc/mi: revision 1.259 etc/rc.d/mountall: revision 1.11 external/cddl/osnet/sbin/zfs/Makefile: revision 1.5 external/cddl/osnet/dist/cmd/zfs/zfs_main.c: revision 1.7 etc/rc.d/Makefile: revision 1.105 distrib/sets/lists/base/mi: revision 1.1217 etc/rc.d/Makefile: revision 1.106 etc/rc.d/zfs: revision 1.1 etc/defaults/rc.conf: revision 1.152 external/cddl/osnet/sbin/zfs/mount_zfs.8: revision 1.1
Add support for legacy ZFS filesystems, specified by mountpoint=legacy in the ZFS properties of the dataset and a simple man page for mount_zfs. With this, it is possible to put ZFS filesystems in /etc/fstab as file system type zfs.
Add a rc.d script that kicks the module ZFS load mostly before mountall runs simular to what LVM does. This allows for any legacy mounts to be specified in critical_local_filesystems and allows for ZFS pools on top of cgd (probably among other things). Introduce a rc.conf variable called zfs which needs to be set to YES, in the usual manor of things, to get zvols and ZFS dataset support rather then just assume that 'zfs mount' does that in mountall. Fix a problem in mountall if ZFS is not compiled into the system. mount_zfs.8: add xref to fstab(5)
Use more markup.
Include mount_zfs man pages only for MKZFS builds.
Moved zfs out of MKX11 block.
Fix build failure without X11.
Add a copyright to the man page and a bit of history. Use Pa macro for path new sentence, new line
|
| 1.1.2.1 |
| 15-Sep-2019 |
martin | file zfs was added on branch netbsd-9 on 2019-09-27 09:18:37 +0000
|
| 1.5.4.2 |
| 13-Apr-2020 |
martin | Mostly merge changes from HEAD upto 20200411
|
| 1.5.4.1 |
| 09-Dec-2019 |
martin | file zfs was added on branch phil-wifi on 2020-04-13 07:45:46 +0000
|