Skip to content

Is there any advantaged in using systemd mkinitcpio HOOKS?

so i was planning my next reinstall (i just like to try stuff rly, nothing broke) and came across the systemd HOOKS page:

https://wiki.archlinux.org/index.php/Mkinitcpio#HOOKS

i was very intrigued so i did a little digging about what was this about and i found...nothing.

my question is: is there any advantaged, difference or ANYTHING about using them? maybe i missed some wiki page or some link.

also please dont turn this into an systemd hate/love thing. that horse is dead.

if there is an link/wiki link that goes into this topic a little deeper please do share.

6 points5 comments
Open on Reddit
About this post
Posted
Archived
Score
6 · 100% up
Kind
Text
ID
dbip45

Author

3
posts
10
comments
1
media
View profile

6 comments

unknown author

Deleted before we saved it.

6 points

For shorter boot time!

Before: HOOKS=(base udev ...)

Startup finished in 6.135s (firmware) + 24ms (loader) + 1.440s (kernel) + 2.744s (userspace) = 10.344s 
graphical.target reached after 2.743s in userspace

After: MODULES=(i915); HOOKS=(systemd ...)

Startup finished in 4.422s (firmware) + 21ms (loader) + 1.174s (kernel) + 484ms (initrd) + 934ms (userspace) = 7.037s 
graphical.target reached after 934ms in userspace

ignore the firmware boot time... I guess my bios boot time is depends on temperautre?

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.