Skip to main content
it's = it is; its = possessive pronoun
Source Link
cjm
  • 27.7k
  • 12
  • 94
  • 87

dracut uses a modular system to manage it'sits bootup process. similarly to initramfs-tools, it possesses a hook called pre-mount, which you will want to use. To install your script, you will need to define a module which uses this hook:

dracut uses a modular system to manage it's bootup process. similarly to initramfs-tools, it possesses a hook called pre-mount, which you will want to use. To install your script, you will need to define a module which uses this hook:

dracut uses a modular system to manage its bootup process. similarly to initramfs-tools, it possesses a hook called pre-mount, which you will want to use. To install your script, you will need to define a module which uses this hook:

correction of the code (added installkernel())
Source Link
user247679
  • 311
  • 1
  • 8
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
check() {
return 0
}

depends() {
return 0
}

install() {
inst_hook pre-mount 91 "$moddir/dm-cache.sh"
} 

installkernel() {
instmods dm_mod
instmods dm_cache
}
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
check() {
return 0
}

depends() {
return 0
}

install() {
inst_hook pre-mount 91 "$moddir/dm-cache.sh"
}
#!/bin/bash
# -*- mode: shell-script; indent-tabs-mode: nil; sh-basic-offset: 4; -*-
# ex: ts=8 sw=4 sts=4 et filetype=sh
check() {
return 0
}

depends() {
return 0
}

install() {
inst_hook pre-mount 91 "$moddir/dm-cache.sh"
} 

installkernel() {
instmods dm_mod
instmods dm_cache
}
added instructions for dracut
Source Link
user247679
  • 311
  • 1
  • 8
Loading
added 6 characters in body
Source Link
user247679
  • 311
  • 1
  • 8
Loading
Source Link
user247679
  • 311
  • 1
  • 8
Loading