-2

Can we have different drives on Linux as windows ?

In windows I can found the different drives by clicking the MyComputer Icon , and even i can know the disk capacity of that drive.

Same thing I want to do with Linux .

How can i see the different drives and how can i know the disk space of that drive ?

7
  • You use a tool like gparted. How you view the contents of the drive depends on the exact distro your using.
    – Ramhound
    Sep 27, 2013 at 12:56
  • Atleast i want to see the memory allocated to each drive in my Linux . Please explain this Sep 27, 2013 at 14:32
  • What do you mean? Why would system memory be allocated to a drive?
    – Ramhound
    Sep 27, 2013 at 15:05
  • @Ramhound: "memory" doesn't always mean RAM. Sep 27, 2013 at 15:06
  • 2
    @grawity - I have never heard anyone call the storage provided by a optical disk or hdd to be considerd system memory. Must we have this discussion? There is a reason why physical and virtual memory is a seperate concept, allowing for virtual memroy ( say a system cache ) to be stored on a physical storage device such as a hdd or a flash device using ReadyBoost.
    – Ramhound
    Sep 27, 2013 at 15:28

1 Answer 1

2

Use df -h from the command line:

$ df -h -T -x tmpfs -x devtmpfs -x ecryptfs
Filesystem               Type      Size  Used Avail Use% Mounted on
/dev/sda3                ext4       38G   23G   14G  63% /
/dev/sda2                ext4      190M   12M  175M   7% /boot
/dev/sda1                vfat       99M   30M   70M  30% /boot/efi
/dev/sda4                ext4      542G  421G  121G  78% /home
/dev/mapper/luks-backups ext4      962G  639G  323G  67% /mnt/backup

In GNOME, right-click a mountpoint and choose "Properties" – or use the System Monitor:

In KDE, right-click a mountpoint and choose "Properties":

Or use a partition tool like GParted – it also shows information about not currently mounted partitions, but on the other hand, it cannot display anything about encrypted partitions:

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .