NLPLUG-FINDFS(1)

πŸ“¦
version 3.14.1 Β· 3 versions
, in alpine 3.24

πŸ’– 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 in OUTFILE. Obsessed with a tidy list. πŸ’–
  • -b OUTFILE β€” when boot media are found, a list of them gets stored in OUTFILE. Boot media are identified by the existence of a .boot_repository file. 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 -c using a keyfile. This can be a device or a regular file. When KEYFILE starts with EXEC=, 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> to KEYFILE. 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 if SEARCHDEVICE is 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 have DEVNAME set. That's the hook, iykyk. πŸͺ
  • -t TIMEOUT β€” timeout after TIMEOUT milliseconds 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