Subject: Re: bug#50601: parted-3.4 | File system not created
From: "Brian C. Lane" <[email-masked]>
To: Ricky Tigg <[email-masked]>
Cc: [email-masked]
Date: Wed, 15 Sep 2021 08:36:06 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

On Wed, Sep 15, 2021 at 01:59:08PM +0300, Ricky Tigg wrote:
> *OS:* Fedora | *Component:* parted-3.4-2.fc34.x86_64
> *parted mode: *interactive
> *Target device:* 256 MiB USB-storage
> *Starting state:* existence alone of partition table; then no partition.
> 
> Hello.
> 
>    - The creation of partition table and naming of partition when supported
>    by selected partition table, succeed.
>    - The creation of filesystem fails.
> 
> # parted /dev/sdc
> (...)
> (parted) mkpart primary ext4 0% 100%

parted does not create filesystems, to do that you need to run mkfs.ext4
on the new partition. The partition value in parted is to tell parted
what you plan to use it for so that it can setup the UUID or partition
type correctly.

Brian

-- 
Brian C. Lane (PST8PDT) - weldr.io - lorax - parted - pykickstart