Chapter8:linux disk and File System Management (2) Simple operation of file system

Source: Internet
Author: User

I. Disk and directory Capacity: DF, du

The overall data of the disk is stored in the Superblock, but the capacity of each individual file is recorded in the Inode.



Displays the amount of space available on the disk where/etc resides

Here, DF automatically parses the partition where the file or directory resides, so that we can see how much space is available under a directory.

As can be seen from the above, the DF analysis data is almost for the entire file system, that is, read the content is superblock.

If we want to list the capacity of all the files in the current directory


Du is going directly to the file system to find all the file data, so it is slower than DF.

Two. Connection File ln

A hard connection is connected to the software.

Chapter8:linux disk and File System Management (2) Simple operation of file system

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.