Talk:Parted

From ArchWiki
Revision as of 10:59, 23 May 2016 by Althathwe (talk | contribs) (Auto alignment with using 0%.: new section)
Jump to: navigation, search

Renaming GNU parted#Resizing partitions to "Partitioning"

At the moment, Beginners' guide#Partition schemes contains far more information about how parted operates than the actual GNU Parted article does. To resolve this, I would like to create a general "Partitioning" section, which encompasses all of the information in Beginners' Guide#Partition schemes, in addition to the current #Growing partitions and #Shrinking partitions sections. If this were the case, the Beginners' guide section on partitioning could, in the future, be consolidated into simple links to the GNU parted and Partitioning#Partitioning tools articles, as discussed in Talk:Beginners' guide. However, regardless of the Beginners' guide considerations, it would seem the information contained there belongs in GNU parted. Pid1 (talk) 16:38, 27 July 2015 (UTC)

I agree that this article must be fully prepared to be followed by a beginner before starting to remove anything related to partitioning from the BG, so I support this initial step (we will be inevitably temporarily increasing the duplication of content during the migration). — Kynikos (talk) 14:13, 28 July 2015 (UTC)
Thanks for your thoughts. I will move that other information over soon. Pid1 (talk) 14:34, 28 July 2015 (UTC)

Resizepart command when resizing

I noticed there's a difference between the "Growing partitions" and "Shrinking partitions" sections. The latter ends with the following command, while the former doesn't:

 # resizepart device number size

So it seems one should notify the kernel about the new size of the partition only when shrinking it. But why one doesn't need it when growing a partition? It would be nice if someone could add an explaination (which I unfortunately don't know). Thanks.

Fturco (talk) 16:15, 28 August 2015 (UTC)

Auto alignment with using 0%.

https://wiki.archlinux.org/index.php?title=GNU_Parted&type=revision&diff=424616&oldid=412084 Auto alignment work if using 'mkpart primary ext4 0% 100%' but didnt with something like '(parted) mkpart primary ext4 0% 513mib'.