mirror_zfs/contrib/dracut/90zfs
наб 692387343f contrib/dracut: 90: mount essential datasets under root
This partly mirrors what the i-t script does (though that mounts all
children, recursively) ‒ /etc, /usr, /lib*, and /bin are all essential,
if present, to successfully invoke the real init, which will then mount
everything else it might need in the right order

The following extreme-case set-up boots w/o issues now:
  /               zoot            zfs  rw,relatime,xattr,noacl
  ├─/etc          zoot/etc        zfs  rw,relatime,xattr,noacl
  ├─/usr          zoot/usr        zfs  rw,relatime,xattr,noacl
  │ └─/usr/local  zoot/usr/local  zfs  rw,relatime,xattr,noacl
  ├─/var          zoot/var        zfs  rw,relatime,xattr,noacl
  │ ├─/var/lib    zoot/var/lib    zfs  rw,relatime,xattr,noacl
  │ ├─/var/log    zoot/var/log    zfs  rw,relatime,xattr,posixacl
  │ ├─/var/cache  zoot/var/cache  zfs  rw,relatime,xattr,noacl
  │ └─/var/tmp    zoot/var/tmp    zfs  rw,relatime,xattr,noacl
  ├─/home         zoot/home       zfs  rw,relatime,xattr,noacl
  │ └─/home/nab   zoot/home/nab   zfs  rw,relatime,xattr,noacl
  ├─/boot         zoot/boot       zfs  rw,relatime,xattr,noacl
  ├─/root         zoot/home/root  zfs  rw,relatime,xattr,noacl
  ├─/opt          zoot/opt        zfs  rw,relatime,xattr,noacl
  └─/srv          zoot/srv        zfs  rw,relatime,xattr,noacl

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #11898
2021-04-19 15:22:57 -07:00
..
.gitignore Add bootfs.snapshot and bootfs.rollback kernel parameters 2020-05-29 21:16:08 -07:00
export-zfs.sh.in dracut: use /bin/sh instead of bash as the intepreter 2020-11-28 11:02:08 -08:00
Makefile.am Centralize variable substitution 2020-07-14 17:33:44 -07:00
module-setup.sh.in Install zgenhostid to sbindir 2021-01-21 12:58:24 -08:00
mount-zfs.sh.in dracut: use /bin/sh instead of bash as the intepreter 2020-11-28 11:02:08 -08:00
parse-zfs.sh.in dracut: use /bin/sh instead of bash as the intepreter 2020-11-28 11:02:08 -08:00
zfs-env-bootfs.service.in dracut: Support /usr/bin as 'systemctl' path 2021-01-21 12:59:24 -08:00
zfs-generator.sh.in contrib/dracut: 90: mount essential datasets under root 2021-04-19 15:22:57 -07:00
zfs-lib.sh.in contrib/dracut: 90: mount essential datasets under root 2021-04-19 15:22:57 -07:00
zfs-load-key.sh.in dracut: Support /usr/bin as 'systemctl' path 2021-01-21 12:59:24 -08: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 Add bootfs.snapshot and bootfs.rollback kernel parameters 2020-05-29 21:16:08 -07:00
zfs-snapshot-bootfs.service.in Add bootfs.snapshot and bootfs.rollback kernel parameters 2020-05-29 21:16:08 -07:00