Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 528410 - sys-block/parted doesn't set ext2 and primary
Summary: sys-block/parted doesn't set ext2 and primary
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-11-06 02:19 UTC by Goran
Modified: 2014-11-06 10:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Goran 2014-11-06 02:19:46 UTC
typing mkpart primary ext2 1 3, as i'm following the instructions, parted creates a partition ext4 with the name 'primary', so it just names the partition instead of assigning a partition type, i'll use gdisk, or both or .  I wasn't sure to report this to you or parted peeps, i haven't used parted before, i've used fdisk so i don't know whether it behaves like this on other distros.  using just mkpart it asks for name, if just mkpart primary it doesn't ask name assumes primary is the name, and still ext4 shows instead of ext2
Comment 1 Goran 2014-11-06 02:35:28 UTC
ah, never mind, there is no primary partitions in gpt, well there's still the misleading instructions in the install guide and gdisk itself, so delete this post
Comment 2 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-06 09:59:56 UTC
Since 3.0 parted no longer creates filesystems.

* Noteworthy changes in release 3.0 (2011-05-30) [stable]

[...]

** Changes in behavior

  Remove all FS-related (file system-related) sub-commands; these commands
  are no longer recognized because they were all dependent on parted "knowing"
  too much about file system: mkpartfs, mkfs, cp, move, check, resize.
  This change removes not just the user interface bits, but also the
  library functions and nearly all of the underlying FS-munging code.
  The code embedded in Parted by which it knew about those file systems
  was so old, unmaintainable and buggy that while seemingly drastic,
  this change is like removing a gangrenous toe.
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2014-11-06 10:00:33 UTC
We do keep 2.4 in the tree which does what you might have been looking for.