Debian Codegraph @

upstream/debian-unstable/man8/[email protected]

raw
1 '\" t
2 .TH "SYSTEMD\-MAKEFS@\&.SERVICE" "8" "" "systemd 261~rc3" "[email protected]"
3 .\" -----------------------------------------------------------------
4 .\" * Define some portability stuff
5 .\" -----------------------------------------------------------------
6 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
7 .\" http://bugs.debian.org/507673
8 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
9 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10 .ie \n(.g .ds Aq \(aq
11 .el .ds Aq '
12 .\" -----------------------------------------------------------------
13 .\" * set default formatting
14 .\" -----------------------------------------------------------------
15 .\" disable hyphenation
16 .nh
17 .\" disable justification (adjust text to left margin only)
18 .ad l
19 .\" -----------------------------------------------------------------
20 .\" * MAIN CONTENT STARTS HERE *
21 .\" -----------------------------------------------------------------
22 .SH "NAME"
23 [email protected], [email protected], [email protected], systemd-growfs-root.service, systemd-makefs, systemd-growfs \- Creating and growing file systems on demand
24 .SH "SYNOPSIS"
25 .PP
26 systemd\-makefs@\fIdevice\fR\&.service
27 .PP
28 systemd\-mkswap@\fIdevice\fR\&.service
29 .PP
30 systemd\-growfs@\fImountpoint\fR\&.service
31 .PP
32 systemd\-growfs\-root\&.service
33 .PP
34 /usr/lib/systemd/systemd\-makefs
35 .PP
36 /usr/lib/systemd/systemd\-growfs
37 .SH "DESCRIPTION"
38 .PP
39 systemd\-makefs@\&.service,
40 systemd\-mkswap@\&.service,
41 systemd\-growfs@\&.service, and
42 systemd\-growfs\-root\&.service
43 are used to implement the
44 \fBx\-systemd\&.makefs\fR
45 and
46 \fBx\-systemd\&.growfs\fR
47 options in
48 \fBfstab\fR(5), see
49 \fBsystemd.mount\fR(5)\&. They are instantiated for each device for which the file system or swap structure needs to be initialized, and for each mount point where the file system needs to be grown\&.
50 .PP
51 These services are started at boot, either right before or right after the mount point or swap device are used\&.
52 .PP
53 systemd\-makefs
54 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\&.\fItype\fR
55 or
56 /sbin/mkswap)\&. For certain file system types (currently ext2/ext3/\fBext4\fR(5),
57 \fBbtrfs\fR(5),
58 \fBxfs\fR(5), f2fs, vfat) and for swap devices, it will configure reasonable defaults and set the file system label and UUID based on the device name\&.
59 .PP
60 systemd\-growfs
61 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
62 \fBioctl\fR(2)
63 number specific to each file system, so only certain types are supported\&. Currently:
64 \fBext4\fR(5),
65 \fBbtrfs\fR(5),
66 \fBxfs\fR(5),
67 and dm\-crypt partitions (see
68 \fBcryptsetup\fR(8))\&.
69 .PP
70 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\&.
71 .SH "SEE ALSO"
72 .PP
73 \fBsystemd\fR(1), \fBsystemd.mount\fR(5), \fBsystemd-fstab-generator\fR(8), \fBsystemd-repart\fR(8), \fBmkfs.btrfs\fR(8), \fBmkfs.cramfs\fR(8), \fBmkfs.ext4\fR(8), \fBmkfs.fat\fR(8), \fBmkfs.hfsplus\fR(8), \fBmkfs.minix\fR(8), \fBmkfs.ntfs\fR(8), \fBmkfs.xfs\fR(8)