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 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

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.