parted: mkpart does not create a filesystem
Using parted
to manage the partitions on a disk you can mkpart
and specify the filesystem type. That does not create the filesystem in the partition.
Additionally, use mkfs
to create the filesytem on that partition:
mkfs.ext4 /dev/sda1-or-something
Published on: 24 Apr 2023