linux02--file system and Disk Management

Source: Internet
Author: User

1. File default Permissionsumask The Umask command is used to specify the default permissions when creating new files and directories.   The default value for root umask is 022, and the average user's umask value is 002.     Default permissions for new files =666-umask value new directory default permissions =777-umask value 2. Disk Management and file system Linux systems All devices are abstracted into files and stored in the/dev directory.     The device name is generally hd[a-z] or sd[a-z], such as HDA, SDA, etc. IDE devices are typically HD prefixes, and SATA, SCSI, and USB devices are typically SD prefixes.   3. Partitioning: A disk is logically divided into zones, each of which is used as a separate disk for easy data and file management purposes.   Currently, the main partitioning technologies are MBR and GPT. mbr:master Boot Record MBR is a traditional partitioning mechanism based on BIOS technology. The main features are: • Supports 32-bit and 64-bit systems • Limited number of supported partitions (up to 4 primary partitions) • Addressing    32-bit space, up to 2TB HDD gpt:guid Partition Table GPT is a new partitioning mechanism based on UEFI technology, and its main purpose is to solve the shortcomings of MBR mechanism. The main features are: • Support for drives larger than 2TB • Must use 64-bit system • Backwards compatible MBR current UNIX-like systems support GPT technology, and Windows systems support after Windows 7? Partitions in Linux are represented as: device name + partition number, such as SDA1. 4.Linux system Start-up process The startup process of the Linux system is: BIOS: Hardware boot • Basic input/output system, generally saved in the motherboard rom mbr:master boot Record linux boot process execute the first 446 bytes in the MBR           Grub: The operating system Bootstrapper GRUB is a commonly used boot program in Linux distributions.           Grub-related files are saved in the/boot/grub directory. The main configuration file is/boot/grub/grub.conf load kernel init: The first process init process is the Linux system running the first process its main functions include: Call/etc/rc.d/ Rc.sysinit files Initialize the system Mount file system start related services and programs based on RunLevel RunLevel: Related applications

linux02--file system and Disk Management

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.