Header Ads Widget

[MAN] systemd-makefs@

Content-type: text/html; charset=UTF-8 Man page of <A HREF="mailto:SYSTEMD-MAKEFS@.SERVICE">SYSTEMD-MAKEFS@.SERVICE</A>

SYSTEMD-MAKEFS@.SERVICE

Section: systemd-makefs@.service (8)
Updated:
Index Return to Main Contents
 

NAME

systemd-makefs@.service, systemd-makeswap@.service, systemd-growfs@.service, systemd-makefs, systemd-growfs - Creating and growing file systems on demand  

SYNOPSIS

systemd-makefs@device.service

systemd-makeswap@device.service

systemd-growfs@mountpoint.service

/lib/systemd/systemd-makefs

/lib/systemd/systemd-growfs  

DESCRIPTION

systemd-makefs@.service, systemd-makeswap@.service, and systemd-growfs@.service are used to implement the x-systemd.makefs and x-systemd.growfs options in fstab(5), see systemd.mount(5). They are instantiated for each device for which the file system or swap structure needs to be initalized, and for each mount point where the file system needs to be grown.

These services are started at boot, either right before or right after the mount point or swap device are used.

systemd-makefs knows very little about specific file systems and swap devices, and after checking that the block device does not already contain a file system or other content, it will execute binaries specific to each filesystem type (/sbin/mkfs.*).

systemd-growfs knows very little about specific file systems and swap devices, and will instruct the kernel to grow the mounted filesystem to full size of the underlying block device. Nevertheless, it needs to know the ioctl(2) number specific to each file system, so only certain types are supported. Currently: ext4(5), btrfs (see btrfs-man5(5)), and dm-crypt partitions (see cryptsetup(8)).

If the creation of a file system or swap device fails, the mount point or swap is failed too. If the growing of a file system fails, a warning is emitted.  

SEE ALSO

systemd(1), systemd.mount(8), systemd-fstab-generator(8), mkfs.btrfs(8), mkfs.cramfs(8), mkfs.ext4(8), mkfs.fat(8), mkfs.hfsplus(8), mkfs.minix(8), mkfs.ntfs(8), mkfs.xfs(8)


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 04:46:00 GMT, September 16, 2022

댓글 쓰기

0 댓글