bug#50601: parted-3.4 | File system not created

2021-09-15 Thread Brian C. Lane
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






bug#50601: parted-3.4 | File system not created

2021-09-15 Thread Ricky Tigg
*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) quit
Information: You may need to update /etc/fstab.

*Note:* Unknown instruction in regards to mention "*You may need to update
/etc/fstab*".

# parted /dev/sdc
(parted) print
Model: Kingston DataTraveler 2.0 (scsi)
Disk /dev/sdc: 255MB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:

Number  Start   EndSize   Type File system  Flags
 1  1049kB  255MB  254MB  primary   lba
 (parted) quit

For example, here is a Gparted v.1.3.1 interpretation:
"Unable to detect file system! Possible reasons are:
- The file system is damaged
- The file system is unknown to GParted
- There is no file system available (unformatted)
- The device entry /dev/sdc1 is missing"