SYSTEMD-LOOP@.SERVICE(8)
๐ systemd-loop@.service(8) โ the manual page, but make it cute
okay bestie, so this is the systemd-loop@.service page from the systemd-loop@.service manual, and honestly? it's a short one, but it's iconic. let's get into it. โจ
๐ธ NAME ๐ธ
systemd-loop@.service โ attach a loopback block device ๐
โจ SYNOPSIS โจ
systemd-loop@path.service
๐ฆ DESCRIPTION ๐ฆ
so systemd-loop@.service is a template service, which means it's the blueprint and you're the one filling in the blanks, periodt. you can use it to automatically attach a loopback block device at boot (or later, no pressure, whenever you feel like it ๐
).
its instance string may reference an (escaped) file system path pointing to a disk image that you wanna attach as a loopback block device. and listen โ if you're gonna escape a file system path, use systemd-escape(1)'s --path, okay? do it properly. that's the whole point of that flag. ๐ฅ
this unit invokes systemd-dissect --attach --quiet --loop-ref-auto on the specified files, so if you wanna know the details, go read systemd-dissect(1). iykyk ๐ง
๐ SEE ALSO ๐
and that's the whole page, bestie, you ate it up fr fr ๐ this was brought to you by systemd 262.1, which is the version of the systemd-loop@.service manual you just read โ go attach a loopback device, you 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