SYSTEMD-REMOUNT-FS(8)

๐Ÿ’– NAME ๐Ÿ’–

systemd-remount-fs.service, systemd-remount-fs โ€” bestie, we're remounting the root and kernel file systems ๐Ÿซถ

(this is from the SYSTEMD-REMOUNT-FS(8) manual, the service page one, iykyk)


โœจ SYNOPSIS โœจ

systemd-remount-fs.service

/usr/lib/systemd/systemd-remount-fs

๐ŸŽ€ DESCRIPTION ๐ŸŽ€

okay so systemd-remount-fs.service is that early boot service that rolls up and applies the mount options listed in fstab(5), or the ones gathered from the partition table (when systemd-gpt-auto-generator(8) is doing its thing) โ€” and it applies them to the root file system, the /usr/ file system, and the kernel API file systems. literally so necessary ๐Ÿ’…

why tho? because those file systems get pre-mounted by the kernel, the initrd, container environments, or system manager code โ€” so their mount options are not the vibe yet. this service updates them to whatever's configured in /etc/fstab and the other sources. glow-up, basically โœจ

it's kinda picky tho, and honestly? valid. it ignores normal file systems and only changes:

  • the root file system (i.e. /)
  • /usr/
  • the virtual kernel API file systems like /proc/, /sys/ or /dev/

and if there's no config to find? it does no operation at all, zero, nada, not me doing work for free ๐Ÿ™ˆ. that means: /etc/fstab doesn't exist, or it exists but lists no entries for the file systems we just mentioned, or the partition table has no relevant entries.

for a longer discussion of kernel API file systems see API File Systems[1] โ€” link's at the bottom bestie ๐Ÿฆ‹

Note: systemd-remount-fs.service is usually pulled in by systemd-fstab-generator(8), which means it's also affected by the kernel command line option fstab=, which may be used to disable the generator. it may also be pulled in by systemd-gpt-auto-generator(8), which is affected by systemd.gpt_auto and other options. so like, one little option and the whole chain shifts, no cap ๐Ÿ”ฅ

๐ŸŒธ SEE ALSO ๐ŸŒธ

systemd(1), fstab(5), mount(8), systemd-fstab-generator(8), systemd-gpt-auto-generator(8)


๐Ÿ“ NOTES ๐Ÿ“

  1. API File Systems https://systemd.io/API_FILE_SYSTEMS

that's the whole thing, bestie, you ate it ๐Ÿ’–โœจ this page is from systemd 262.1, dated with the classic SYSTEMD-RE...FS.SERVICE(8) footer energy โ€” go forth and remount, main character ๐Ÿ‘‘๐ŸŒˆ

๐Ÿ“ฆ where this page comes from
  • arch rolling: systemd 262.1-1 ยท LGPL-2.1-or-later AND CC0-1.0 AND GPL-2.0-or-later AND MIT-0
  • ๐Ÿ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms