What is difference between DU and df?

Answer. du is used to estimate file space usage—space used under a particular directory or files on a file system. df is used to display the amount of available disk space for file systems on which the invoking user has appropriate read access.

What is difference between Gdisk and fdisk?

The gdisk program employs a user interface similar to that of Linux’s fdisk, but gdisk modifies GPT partitions. In that sense, a partition table (or partition) created by those tools should be identical, if it is of the same type (i.e. MBR or GPT). Whichever tool should make no difference.

What is the use of fdisk L?

The ‘-l’ argument stand for (listing all partitions) is used with fdisk command to view all available partitions on Linux. The partitions are displayed by their device’s names. For example: /dev/sda, /dev/sdb or /dev/sdc.

What is the difference between fdisk and parted?

The parted utility is an alternative to fdisk . It can perform all the operations of fdisk , but it has additional functionality, such as resizing and copying partitions and creating file systems. The utility is called from the “root” user, passing the disk device as a parameter.

What is Gdisk in Linux?

GPT fdisk (aka gdisk) is a text-mode menu-driven program for creation and manipulation of partition tables.

What is use of df command in Linux?

The ‘df’ command stands for “disk filesystem“, it is used to get a full summary of available and used disk space usage of the file system on the Linux system.

Does fdisk support GPT?

GPT fdisk—consisting of the gdisk, cgdisk, sgdisk, and fixparts programs—is a set of text-mode partitioning tools made by Rod Smith. They work on Globally Unique Identifier (GUID) Partition Table (GPT) disks, rather than on the older (and once more common) Master Boot Record (MBR) partition tables.

What is the difference between DF and root file system?

If an argument is the absolute file name of a disk device node containing a mounted file system, df shows the space available on that file system rather than on the file system containing the device node (which is always the root file system).

Why is my SDA1 not showing up in fdisk?

sda1 isn’t your whole disk but its first primary partition. You might have created other unmounted partitions that do not show up in df output or simply have sda1 not filling all usable space for some reason or having the filesystem not using all available space in its partition. fdisk -l will tell you what your partition table looks like.

How does DF work?

From the man page for df If an argument is the absolute file name of a disk device node containing a mounted file system, df shows the space available on that file system rather than on the file system containing the device node (which is always the root file system).