Files
systemd/test/test-fstab-generator/test-16-tmpfs.expected/sysroot.mount
T
Luca Boccassi d3a57a0853 fstab-generator: set mode=0755 with root=tmpfs
If mode= is not set in rootflags= add mode=0755 when a tmpfs
is used on the rootfs, otherwise it will be group/world writable
as that's the default mode for tmpfs filesystems.

Follow-up for 725ad3b062
2025-06-17 16:13:45 +09:00

14 lines
262 B
SYSTEMD

# Automatically generated by systemd-fstab-generator
[Unit]
Documentation=man:fstab(5) man:systemd-fstab-generator(8)
SourcePath=/proc/cmdline
Before=initrd-root-fs.target
After=imports.target
[Mount]
What=rootfs
Where=/sysroot
Type=tmpfs
Options=rw,mode=0755