Blast-Radius Aware AI Code Review for Business-Critical Systems
LiveReview LiveReview Explore LiveReview

luksformat - Create and format an encrypted LUKS device

Author

       This program was written by Martin Pitt <martin.pitt@ubuntu.com>.

2:2.8.0-1ubuntu1                                   2025-07-25                                      LUKSFORMAT(8)

Description

luksformat is a wrapper around cryptsetup and mkfs which provides an easy interface for creating an
       encrypted device that follows the LUKS standard and for putting a file system onto the encrypted device.

       The default file system is vfat since that is most commonly used on removable devices. However, you can
       specify any available file system with the -t option.

Name

       luksformat - Create and format an encrypted LUKS device

See Also

cryptsetup(8), mkfs(8)

Synopsis

luksformat [-tfstype] device [ mkfs options ]

See Also