Comment 1 for bug 1688424

Revision history for this message
Jens Elkner (jelmd) wrote :

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial

Not sure, why it is made that complicated. IMHO the only thing to know is the name or ID of the pool, that contains the / dataset. Then initramfs can import it w/o any problems and related scripts incl. grub-mkconfig & friends do not need to mangle anything: Via 'zpool get -H bootfs ${pool}' or with more recent zfs-utils via 'zpool get -H -o value bootfs ${pool}' one may obtain directly the name of the dataset to mount on /root - no need to mangle anything as well.