mirror_zfs/cmd/zpool
Jorgen Lundman 02601d8aa4
Move check_file to os/$platform section
Keep check_file_generic() in shared code base, and allow special case
code in check_file() in os section. In future, macOS will have
additional checks in check_file().

Linux and FreeBSD wrappers just calls check_file_generic().

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Jorgen Lundman <lundman@lundman.net>
Closes #12385
2021-07-26 16:34:11 -07:00
..
compatibility.d Add compatibility file sets (ZoL 0.6.1, 0.6.4, OpenZFS 2.1) 2021-03-31 09:40:25 -07:00
os Move check_file to os/$platform section 2021-07-26 16:34:11 -07:00
zpool.d Turn checkbashisms into a make target 2021-06-01 11:38:54 -07:00
.gitignore Add .gitignore files to exclude build products 2010-01-08 11:35:17 -08:00
Makefile.am Turn shellcheck into a normal make target. Fix new files it caught 2021-06-01 11:38:49 -07:00
zpool_iter.c zpool: vdev_run_cmd(): don't free undefined pointers 2021-05-08 09:21:59 -07:00
zpool_main.c Read past end of argv array in zpool_do_import() 2021-07-26 12:51:39 -07:00
zpool_util.c zpool: import: use realloc for realloc, remove strtok 2021-05-26 14:50:59 -07:00
zpool_util.h Move check_file to os/$platform section 2021-07-26 16:34:11 -07:00
zpool_vdev.c Move check_file to os/$platform section 2021-07-26 16:34:11 -07:00