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.serviceis usually pulled in bysystemd-fstab-generator(8), which means it's also affected by the kernel command line optionfstab=, which may be used to disable the generator. it may also be pulled in bysystemd-gpt-auto-generator(8), which is affected bysystemd.gpt_autoand 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 ๐
- 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