[make-initrd] поддержка zfs

Семён Шепилов hasculdr at mail.ru
Sun Oct 23 17:53:49 MSK 2022


первый блок, скорее всего, действительно для ввода пароля на зашифрованные разделы, поэтому в мануалах в initrd добавляют модуль kbd
 
в скрипте initramfs тот же самый прием с поиском свойства 'bootfs':
# Get a ZFS filesystem property value.
get_fs_value()
{
fs="$1"
value=$2
 
"${ZFS}" get -H -ovalue "$value" "$fs" 2> /dev/null
}
 
# Find the 'bootfs' property on pool $1.
# If the property does not contain '/', then ignore this
# pool by exporting it again.
и т.д.
А это свойство, похоже, должно автоматически устанавливаться грубом.
 
С уважением,
Семён Шепилов
hasculdr at mail.ru
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.altlinux.org/pipermail/make-initrd/attachments/20221023/eb963648/attachment.html>


More information about the Make-initrd mailing list