Study notes of the file management system

Source: Internet
Author: User
Tags what file type
Document Management System Study Notes 1. file system structure (directory structure)/usr/bin: stores commands executed by the user/usr/sbin: stores commands that can only be executed by the root user/home: user's default directory/proc: virtual file system, which stores the memory image and does not exist in the hard disk... document Management System Study Notes 1. file system structure (directory structure)/usr/bin: stores commands executed by the user/usr/sbin: stores commands that can only be executed by the root user/home: user's default directory/proc: virtual file system, which stores memory images. the hard disk does not contain/dev: stores device files/lib: stores the shared library files required by the system/lost + found: save some system error check results/tmp: store the user's temporary directory/etc: System configuration file/var: Contains frequently changed files, emails, log files or something/usr: store all commands, libraries, manuals, etc. (such as the c: \ windo directory)/mnt: installation point of the temporary file system (Mount directory)/boot: kernel file and startup file # du-sh/| sort-nr | head to view the root directory file size # fsck e2fsck file system repair (available in single user mode) # fsck-y the partition name can be automatically repaired (-y agrees to fix) # fiel filename to see what file type is 2. mounting the optical drive to the device # mount/dev/cdrom/mnt/cdrom (/mnt/crdom directory to be created by yourself) unmount the optical drive # unmount/mnt/cdrom # eject3. partition and formatting principles partition the disk partition (fdisk) create a file system (mkfs format) write the configuration file (/etc/fstab) partition steps: # fdisk/dev/sdb # m help # p print partition table # n add new partition format partition: # mkfs. ext3/dev/sdb1 (based on your actual situation) # mkdir ccccc # mount/dev/sdb1 cccc (you can mount the disk) # vim/etc/fstab) # e2label/dev/sda3 check whether this partition has a volume label # e2label/dev/sda3 data writes this partition as this volume label 4. disk quota
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: info-contact@alibabacloud.com 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.