NLPLUG-FINDFS(1)
π NLPLUG-FINDFS(1) β Early startup π
πΈ NAME πΈ
nlplug-findfs β Search for blockdevices to boot.
π¦ SYNOPSIS π¦
nlplug-findfs OPTIONS [SEARCHDEVICE]
β¨ DESCRIPTION β¨
Okay so <pink>nlplug-findfs</pink> is part of the initramfs, and its whole main-character job is to find the (possibly encrypted) boot partition and installer media. That's the vibe check: boot stuff, installer stuff, no cap.
Here are the options, one by one, fr fr:
-a OUTFILEβ when apk overlays are found during the search, a list of their paths gets stored inOUTFILE. Obsessed with a tidy list. π-b OUTFILEβ when boot media are found, a list of them gets stored inOUTFILE. Boot media are identified by the existence of a.boot_repositoryfile. That's the little clue, iykyk. π-c CRYPTDEVICEβ specifies an block device for decryption. Yep, that exact energy.-hβ show usage information. Slay.-H HEADERDEVICEβ when you're using an encrypted device with LUKS headers on a separate block device, that block device must be specified with this option. Important, bestie. π₯-k KEYFILEβ attempt to decrypt the block device given with-cusing a keyfile. This can be a device or a regular file. WhenKEYFILEstarts withEXEC=, it specifies a command without arguments that is executed and the stdout used as key. The key offset and size can be set by appending:<offset>:<size>toKEYFILE. That's giving secret-agent key energy. π΅οΈβοΈ-m NAMEβ when the decryption of the block device is successful, it will appear as/dev/mapper/NAME. Iconic. β¨-nβ do not return non-zero ifSEARCHDEVICEis not found. No dramatic exit code, periodt.-Dβ mount the encrypted devices with the discard (TRIM) option. Don't enable this if you don't know what it does. For real, that's a warning, not a vibe. β οΈ-dβ enable debugging output. Debug girlies rise. π-f SUBSYSTEMβ ignore devices belonging to the given subsystem. Bye, not your subsystem, not your problem. π-o OFFSETβ when mounting an encrypted device, this specifies the payload offset for cryptsetup. Exact. π―-p PROGRAMβ call this program for uevents which haveDEVNAMEset. That's the hook, iykyk. πͺ-t TIMEOUTβ timeout afterTIMEOUTmilliseconds without uevents. Clock is ticking, bestie. β°-U SIZEβ uevent buffer size in bytes. Size matters for the buffer, periodt. π
π AUTHOR π
Written by Natanael Copa <ncopa@alpinelinux.org>, Timo TerΓ€s <timo.teras@iki.fi> and others. Genuine icons. π
π REPORTING BUGS π
Alpine Linux GitLab: <https://gitlab.alpinelinux.org/alpine/mkinitfs/-/issues>. If something's cursed, that's where to spill. π
π SEE ALSO π
mkinitfs-bootparam(7) β go read that too, bestie. π
This page is from mkinitfs 3.14.1-r0, dated July 2018, and it's the NLPLUG-FINDFS(1) manual β mwah, that's the whole page. π
π
π¦ where this page comes from
- alpine 3.24: mkinitfs-doc 3.14.1-r0 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms