Can parted show used and available sizes as gparted?












0















gparted is said to be the GUI frontend of parted.



Why can't parted show used and available sizes for each partition, as gparted does?



If parted can, how can I make it show that information?



If not, how does gparted make it?



$ sudo parted -l
[sudo] password for t:
Model: ATA ST1000LM014-1EJ1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 2097kB 1049kB bios_grub
2 2097kB 16.0GB 16.0GB linux-swap(v1)
4 116GB 716GB 600GB ext4
3 716GB 1000GB 284GB ext4


enter image description here










share|improve this question




















  • 1





    Because it doesn't have this functionality?

    – 炸鱼薯条德里克
    Feb 21 at 7:27
















0















gparted is said to be the GUI frontend of parted.



Why can't parted show used and available sizes for each partition, as gparted does?



If parted can, how can I make it show that information?



If not, how does gparted make it?



$ sudo parted -l
[sudo] password for t:
Model: ATA ST1000LM014-1EJ1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 2097kB 1049kB bios_grub
2 2097kB 16.0GB 16.0GB linux-swap(v1)
4 116GB 716GB 600GB ext4
3 716GB 1000GB 284GB ext4


enter image description here










share|improve this question




















  • 1





    Because it doesn't have this functionality?

    – 炸鱼薯条德里克
    Feb 21 at 7:27














0












0








0








gparted is said to be the GUI frontend of parted.



Why can't parted show used and available sizes for each partition, as gparted does?



If parted can, how can I make it show that information?



If not, how does gparted make it?



$ sudo parted -l
[sudo] password for t:
Model: ATA ST1000LM014-1EJ1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 2097kB 1049kB bios_grub
2 2097kB 16.0GB 16.0GB linux-swap(v1)
4 116GB 716GB 600GB ext4
3 716GB 1000GB 284GB ext4


enter image description here










share|improve this question
















gparted is said to be the GUI frontend of parted.



Why can't parted show used and available sizes for each partition, as gparted does?



If parted can, how can I make it show that information?



If not, how does gparted make it?



$ sudo parted -l
[sudo] password for t:
Model: ATA ST1000LM014-1EJ1 (scsi)
Disk /dev/sda: 1000GB
Sector size (logical/physical): 512B/4096B
Partition Table: gpt
Disk Flags:

Number Start End Size File system Name Flags
1 1049kB 2097kB 1049kB bios_grub
2 2097kB 16.0GB 16.0GB linux-swap(v1)
4 116GB 716GB 600GB ext4
3 716GB 1000GB 284GB ext4


enter image description here







gparted parted






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Feb 21 at 6:58









PRY

2,61231026




2,61231026










asked Feb 20 at 23:23









TimTim

27.6k78264477




27.6k78264477








  • 1





    Because it doesn't have this functionality?

    – 炸鱼薯条德里克
    Feb 21 at 7:27














  • 1





    Because it doesn't have this functionality?

    – 炸鱼薯条德里克
    Feb 21 at 7:27








1




1





Because it doesn't have this functionality?

– 炸鱼薯条德里克
Feb 21 at 7:27





Because it doesn't have this functionality?

– 炸鱼薯条德里克
Feb 21 at 7:27










1 Answer
1






active

oldest

votes


















3














On the command line, the used and unused space on each filesystem can be listed using the command df, assuming that the filesystems are mounted.



If you wanted to be pedantic, you could say more accurately that "gparted is a graphical frontend for parted and any combination of btrfs-progs/btrfs-tools, e2fsprogs, f2fs-tools, dosfstools/mtools, hfsutils, hfsprogs , jfsutils, util-linux, lvm2, nilfs-utils, ntfs-3g/ntfsprogs, reiser4progs, reiserfsprogs/reiserfs-utils, xfsprogs and/or xfsdump"... but I think that would be too cumbersome for general use. I believe that the tools and/or libraries in those packages could include the functionality to find out the used/unused capacity on each supported filesystem, if that functionality isn't integrated into the main gparted binary.



So, yes, gparted is a frontend for parted... but not just a simple frontend: since the GUI allows for more easier presentation of complex concepts, it uses that capability to provide more advanced functionality. In doing so, it acts as a frontend for way more tools than just parted alone.






share|improve this answer
























  • Thanks. It is not I want to be pedantic. When A is said to be GUI frontend of B, it usually implies B has more feature than A, or is more powerful, So I think it is best to use the CLI program than the GUI one.

    – Tim
    Feb 21 at 19:15













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f501981%2fcan-parted-show-used-and-available-sizes-as-gparted%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









3














On the command line, the used and unused space on each filesystem can be listed using the command df, assuming that the filesystems are mounted.



If you wanted to be pedantic, you could say more accurately that "gparted is a graphical frontend for parted and any combination of btrfs-progs/btrfs-tools, e2fsprogs, f2fs-tools, dosfstools/mtools, hfsutils, hfsprogs , jfsutils, util-linux, lvm2, nilfs-utils, ntfs-3g/ntfsprogs, reiser4progs, reiserfsprogs/reiserfs-utils, xfsprogs and/or xfsdump"... but I think that would be too cumbersome for general use. I believe that the tools and/or libraries in those packages could include the functionality to find out the used/unused capacity on each supported filesystem, if that functionality isn't integrated into the main gparted binary.



So, yes, gparted is a frontend for parted... but not just a simple frontend: since the GUI allows for more easier presentation of complex concepts, it uses that capability to provide more advanced functionality. In doing so, it acts as a frontend for way more tools than just parted alone.






share|improve this answer
























  • Thanks. It is not I want to be pedantic. When A is said to be GUI frontend of B, it usually implies B has more feature than A, or is more powerful, So I think it is best to use the CLI program than the GUI one.

    – Tim
    Feb 21 at 19:15


















3














On the command line, the used and unused space on each filesystem can be listed using the command df, assuming that the filesystems are mounted.



If you wanted to be pedantic, you could say more accurately that "gparted is a graphical frontend for parted and any combination of btrfs-progs/btrfs-tools, e2fsprogs, f2fs-tools, dosfstools/mtools, hfsutils, hfsprogs , jfsutils, util-linux, lvm2, nilfs-utils, ntfs-3g/ntfsprogs, reiser4progs, reiserfsprogs/reiserfs-utils, xfsprogs and/or xfsdump"... but I think that would be too cumbersome for general use. I believe that the tools and/or libraries in those packages could include the functionality to find out the used/unused capacity on each supported filesystem, if that functionality isn't integrated into the main gparted binary.



So, yes, gparted is a frontend for parted... but not just a simple frontend: since the GUI allows for more easier presentation of complex concepts, it uses that capability to provide more advanced functionality. In doing so, it acts as a frontend for way more tools than just parted alone.






share|improve this answer
























  • Thanks. It is not I want to be pedantic. When A is said to be GUI frontend of B, it usually implies B has more feature than A, or is more powerful, So I think it is best to use the CLI program than the GUI one.

    – Tim
    Feb 21 at 19:15
















3












3








3







On the command line, the used and unused space on each filesystem can be listed using the command df, assuming that the filesystems are mounted.



If you wanted to be pedantic, you could say more accurately that "gparted is a graphical frontend for parted and any combination of btrfs-progs/btrfs-tools, e2fsprogs, f2fs-tools, dosfstools/mtools, hfsutils, hfsprogs , jfsutils, util-linux, lvm2, nilfs-utils, ntfs-3g/ntfsprogs, reiser4progs, reiserfsprogs/reiserfs-utils, xfsprogs and/or xfsdump"... but I think that would be too cumbersome for general use. I believe that the tools and/or libraries in those packages could include the functionality to find out the used/unused capacity on each supported filesystem, if that functionality isn't integrated into the main gparted binary.



So, yes, gparted is a frontend for parted... but not just a simple frontend: since the GUI allows for more easier presentation of complex concepts, it uses that capability to provide more advanced functionality. In doing so, it acts as a frontend for way more tools than just parted alone.






share|improve this answer













On the command line, the used and unused space on each filesystem can be listed using the command df, assuming that the filesystems are mounted.



If you wanted to be pedantic, you could say more accurately that "gparted is a graphical frontend for parted and any combination of btrfs-progs/btrfs-tools, e2fsprogs, f2fs-tools, dosfstools/mtools, hfsutils, hfsprogs , jfsutils, util-linux, lvm2, nilfs-utils, ntfs-3g/ntfsprogs, reiser4progs, reiserfsprogs/reiserfs-utils, xfsprogs and/or xfsdump"... but I think that would be too cumbersome for general use. I believe that the tools and/or libraries in those packages could include the functionality to find out the used/unused capacity on each supported filesystem, if that functionality isn't integrated into the main gparted binary.



So, yes, gparted is a frontend for parted... but not just a simple frontend: since the GUI allows for more easier presentation of complex concepts, it uses that capability to provide more advanced functionality. In doing so, it acts as a frontend for way more tools than just parted alone.







share|improve this answer












share|improve this answer



share|improve this answer










answered Feb 21 at 6:52









telcoMtelcoM

18.9k12347




18.9k12347













  • Thanks. It is not I want to be pedantic. When A is said to be GUI frontend of B, it usually implies B has more feature than A, or is more powerful, So I think it is best to use the CLI program than the GUI one.

    – Tim
    Feb 21 at 19:15





















  • Thanks. It is not I want to be pedantic. When A is said to be GUI frontend of B, it usually implies B has more feature than A, or is more powerful, So I think it is best to use the CLI program than the GUI one.

    – Tim
    Feb 21 at 19:15



















Thanks. It is not I want to be pedantic. When A is said to be GUI frontend of B, it usually implies B has more feature than A, or is more powerful, So I think it is best to use the CLI program than the GUI one.

– Tim
Feb 21 at 19:15







Thanks. It is not I want to be pedantic. When A is said to be GUI frontend of B, it usually implies B has more feature than A, or is more powerful, So I think it is best to use the CLI program than the GUI one.

– Tim
Feb 21 at 19:15




















draft saved

draft discarded




















































Thanks for contributing an answer to Unix & Linux Stack Exchange!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f501981%2fcan-parted-show-used-and-available-sizes-as-gparted%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

How to make a Squid Proxy server?

Is this a new Fibonacci Identity?

19世紀