zfs/contrib/dracut/90zfs
наб 245529d85f contrib; dracut: centralise root= parsing, actually support root=s
So far, everything parsed root= manually, which meant that while
zfs-parse.sh was updated, and supposedly supported + -> ' ' conversion,
it meant nothing

Instead, centralise parsing, and allow:
  root=
  root=zfs
  root=zfs:
  root=zfs:AUTO

  root=ZFS=data/set
  root=zfs:data/set
  root=zfs:ZFS=data/set (as a side-effect; allowed but undocumented)

  rootfstype=zfs AND root=data/set <=> root=data/set
  rootfstype=zfs AND root=         <=> root=zfs:AUTO

So rootfstype=zfs /also/ behaves as expected, and + decoding works

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13291
2022-04-20 16:44:47 -07:00
..
.gitignore dracut: 90zfs: respect zfs_force=1 on systemd systems 2021-06-10 09:26:37 -07:00
Makefile.am Add `--enable=all` to ShellCheck by default 2022-02-07 11:59:09 -08:00
export-zfs.sh.in contrib/dracut: zfs-lib: export_all: replace with inline zpool export -a 2022-03-03 10:45:24 -08:00
import-opts-generator.sh.in Pass `--enable=all` to shellcheck within contrib/ 2021-11-30 10:23:10 -08:00
module-setup.sh.in Multiple dracut module install script cleanups 2022-02-16 15:28:18 -08:00
mount-zfs.sh.in contrib; dracut: centralise root= parsing, actually support root=s 2022-04-20 16:44:47 -07:00
parse-zfs.sh.in contrib; dracut: centralise root= parsing, actually support root=s 2022-04-20 16:44:47 -07:00
zfs-env-bootfs.service.in libzfs: add keylocation=https://, backed by fetch(3) or libcurl 2021-05-12 21:21:35 -07:00
zfs-generator.sh.in contrib; dracut: centralise root= parsing, actually support root=s 2022-04-20 16:44:47 -07:00
zfs-lib.sh.in contrib; dracut: centralise root= parsing, actually support root=s 2022-04-20 16:44:47 -07:00
zfs-load-key.sh.in contrib; dracut: centralise root= parsing, actually support root=s 2022-04-20 16:44:47 -07:00
zfs-needshutdown.sh.in dracut: use /bin/sh instead of bash as the intepreter 2020-11-28 11:02:08 -08:00
zfs-rollback-bootfs.service.in contrib: dracut: zfs-{rollback,snapshot}-bootfs: don't shell for test 2022-02-11 11:43:07 -08:00
zfs-snapshot-bootfs.service.in contrib: dracut: zfs-{rollback,snapshot}-bootfs: don't shell for test 2022-02-11 11:43:07 -08:00