zfs/cmd
Damian Szuberski d7a67402a8
`mount.zfs -o zfsutil` leverages `zfs_mount_at()`
Using `zfs_mount_at()` gives opportunity to properly propagate
mountopts from what's stored in a pool to the `mount(2)` syscall
invocation. It fixes cases when mount options are set to incorrect
values and rectification is impossible (e. g. Linux initrd boot
sequence in #7947).
Moved debug information printing after all variables are
initialized - printed text reflects what is passed to `mount(2)`.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Issue #7947 
Closes #13021
2022-02-08 10:53:23 -08:00
..
arc_summary Removed Python 2 and Python 3.5- support 2022-01-13 09:51:12 -07:00
arcstat Removed Python 2 and Python 3.5- support 2022-01-13 09:51:12 -07:00
dbufstat Removed Python 2 and Python 3.5- support 2022-01-13 09:51:12 -07:00
fsck_zfs Add `--enable=all` to ShellCheck by default 2022-02-07 11:59:09 -08:00
mount_zfs `mount.zfs -o zfsutil` leverages `zfs_mount_at()` 2022-02-08 10:53:23 -08:00
raidz_test raidz_test: init_rand: fix unused, remove argsused 2021-12-21 12:05:11 -08:00
vdev_id Remove basename(1). Clean up/shorten some coreutils pipelines 2021-11-11 13:27:37 -07:00
zdb Add `--enable-asan` and `--enable-ubsan` switches 2022-02-03 14:35:38 -08:00
zed Add `--enable=all` to ShellCheck by default 2022-02-07 11:59:09 -08:00
zfs Add `--enable-asan` and `--enable-ubsan` switches 2022-02-03 14:35:38 -08:00
zfs_ids_to_path zfs_ids_to_path: print correct wrong values 2021-04-11 11:58:16 -07:00
zgenhostid Prune /*NOTREACHED*/ 2021-07-26 12:07:26 -07:00
zhack module/*.ko: prune .data, global .rodata 2022-01-14 15:37:55 -08:00
zinject zinject: cancel_one_handler: fix unused, remove argsused 2021-12-21 12:05:11 -08:00
zpool Add `--enable=all` to ShellCheck by default 2022-02-07 11:59:09 -08:00
zpool_influxdb Fix trivial calloc(3) arguments order 2022-02-02 11:27:35 -08:00
zstream Report dnodes with faulty bonuslen 2022-02-03 14:28:19 -08:00
ztest Add `--enable-asan` and `--enable-ubsan` switches 2022-02-03 14:35:38 -08:00
zvol_id Add `--enable-asan` and `--enable-ubsan` switches 2022-02-03 14:35:38 -08:00
zvol_wait Add `--enable=all` to ShellCheck by default 2022-02-07 11:59:09 -08:00
Makefile.am Add `--enable=all` to ShellCheck by default 2022-02-07 11:59:09 -08:00