{
    "content": [
        {
            "type": "text",
            "text": "# systemd-growfs(8) (man)\n\n**Summary:** systemd-makefs@.service, systemd-mkswap@.service, systemd-growfs@.service, systemd-makefs, systemd-growfs - Creating and growing file systems on demand\n\n**Synopsis:** systemd-makefs@device.service\nsystemd-mkswap@device.service\nsystemd-growfs@mountpoint.service\n/lib/systemd/systemd-makefs\n/lib/systemd/systemd-growfs\n\n## See Also\n\n- systemd(1)\n- systemd.mount(8)\n- systemd-fstab-generator(8)\n- systemd-repart(8)\n- mkfs.btrfs(8)\n- mkfs.cramfs(8)\n- mkfs.ext4(8)\n- mkfs.fat(8)\n- mkfs.hfsplus(8)\n- mkfs.minix(8)\n- mkfs.ntfs(8)\n- mkfs.xfs(8)\n- .SERVICE(8)\n\n## Section Outline\n\n- **NAME** (3 lines)\n- **SYNOPSIS** (10 lines)\n- **DESCRIPTION** (22 lines)\n- **SEE ALSO** (7 lines)\n\n## Full Content\n\n### NAME\n\nsystemd-makefs@.service, systemd-mkswap@.service, systemd-growfs@.service, systemd-makefs,\nsystemd-growfs - Creating and growing file systems on demand\n\n### SYNOPSIS\n\nsystemd-makefs@device.service\n\nsystemd-mkswap@device.service\n\nsystemd-growfs@mountpoint.service\n\n/lib/systemd/systemd-makefs\n\n/lib/systemd/systemd-growfs\n\n### DESCRIPTION\n\nsystemd-makefs@.service, systemd-mkswap@.service, and systemd-growfs@.service are used to\nimplement the x-systemd.makefs and x-systemd.growfs options in fstab(5), see\nsystemd.mount(5). They are instantiated for each device for which the file system or swap\nstructure needs to be initialized, and for each mount point where the file system needs to be\ngrown.\n\nThese services are started at boot, either right before or right after the mount point or\nswap device are used.\n\nsystemd-makefs knows very little about specific file systems and swap devices, and after\nchecking that the block device does not already contain a file system or other content, it\nwill execute binaries specific to each filesystem type (/sbin/mkfs.type or /sbin/mkswap).\n\nsystemd-growfs knows very little about specific file systems and swap devices, and will\ninstruct the kernel to grow the mounted filesystem to full size of the underlying block\ndevice. Nevertheless, it needs to know the ioctl(2) number specific to each file system, so\nonly certain types are supported. Currently: ext4(5), btrfs(5), xfs(5), and dm-crypt\npartitions (see cryptsetup(8)).\n\nIf the creation of a file system or swap device fails, the mount point or swap is failed too.\nIf the growing of a file system fails, a warning is emitted.\n\n### SEE ALSO\n\nsystemd(1), systemd.mount(8), systemd-fstab-generator(8), systemd-repart(8), mkfs.btrfs(8),\nmkfs.cramfs(8), mkfs.ext4(8), mkfs.fat(8), mkfs.hfsplus(8), mkfs.minix(8), mkfs.ntfs(8),\nmkfs.xfs(8)\n\n\n\nsystemd 249                                                               SYSTEMD-MAKEFS@.SERVICE(8)\n\n"
        }
    ],
    "structuredContent": {
        "command": "systemd-growfs",
        "section": "8",
        "mode": "man",
        "summary": "systemd-makefs@.service, systemd-mkswap@.service, systemd-growfs@.service, systemd-makefs, systemd-growfs - Creating and growing file systems on demand",
        "synopsis": "systemd-makefs@device.service\nsystemd-mkswap@device.service\nsystemd-growfs@mountpoint.service\n/lib/systemd/systemd-makefs\n/lib/systemd/systemd-growfs",
        "flags": [],
        "examples": [],
        "see_also": [
            {
                "name": "systemd",
                "section": "1",
                "url": "https://www.chedong.com/phpMan.php/man/systemd/1/json"
            },
            {
                "name": "systemd.mount",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/systemd.mount/8/json"
            },
            {
                "name": "systemd-fstab-generator",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/systemd-fstab-generator/8/json"
            },
            {
                "name": "systemd-repart",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/systemd-repart/8/json"
            },
            {
                "name": "mkfs.btrfs",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/mkfs.btrfs/8/json"
            },
            {
                "name": "mkfs.cramfs",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/mkfs.cramfs/8/json"
            },
            {
                "name": "mkfs.ext4",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/mkfs.ext4/8/json"
            },
            {
                "name": "mkfs.fat",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/mkfs.fat/8/json"
            },
            {
                "name": "mkfs.hfsplus",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/mkfs.hfsplus/8/json"
            },
            {
                "name": "mkfs.minix",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/mkfs.minix/8/json"
            },
            {
                "name": "mkfs.ntfs",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/mkfs.ntfs/8/json"
            },
            {
                "name": "mkfs.xfs",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/mkfs.xfs/8/json"
            },
            {
                "name": ".SERVICE",
                "section": "8",
                "url": "https://www.chedong.com/phpMan.php/man/.SERVICE/8/json"
            }
        ],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 3,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 10,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 22,
                "subsections": []
            },
            {
                "name": "SEE ALSO",
                "lines": 7,
                "subsections": []
            }
        ]
    }
}