Linux File System vs Windows-based File System

Source: Internet
Author: User

Despite many similarities, there are still many differences between Linux file systems and Windows file systems like MS-DOS:

  • In a MS-DOS, a drive letter represents a different storage device (for example, a: floppy disk and C: Hard Disk ). in Linux, all storage devices are well integrated into the hierarchical structure of the file system. Therefore,/usr may be on a separate hard disk./mnt/rem1 is another file system of other machines.

  • Different directory separators c: \ home \ Chris/home/Chris

  • In dos, the file name often has an extension and indicates that the file type is associated with the relevant application. In Linux, the extension does not represent the file type.

  • Linux files and directories have permission control. In the early days, the DOS system was a single user. Later, we gradually considered multiple users and improved permission management and other functions.

Attached to the Linux File System:

  • /Bin-contains common Linux user commands, such as LS, sort, date, and CHMOD.

  • /Boot-has the bootable Linux kernel and boot loader configuration files (grub ).

  • /Dev-contains files representing access points to devices on your systems. these include terminal devices (TTY *), floppy disks (FD *), hard disks (HD * or SC *), RAM (Ram *), and CD-ROM (CD *). (Applications normally access these devices directly through the device files, but end users rarely access them directly .)

  • /Etc-contains administrative configuration files.

  • /Home-contains directories assigned to each user with a login account.

  • /Media-provides a location for mounting devices, such as remote file systems and removable media (with directory names of CDROM, floppy, and so on ). in fedora and RHEL, when removable media are mounted automatically in this directory when the media is inserted (CD or DVD) or connected (USB pen drives or cameras ).

  • /Proc-provides a mechanism for the kernel to send information to processes.

  • /Root-represents the root user's home directory.

  • /Sbin-contains administrative commands and daemon processes.

  • /Sys-A/proc-like file system, added with the Linux 2.6 kernel and intended to contain files for getting hardware status and reflecting the system's Device Tree as it is seen by the kernel. it pulls functions of its functions from/proc.

  • /Tmp-contains temporary files used by applications.

  • /Usr-contains user documentation, games, graphical files (X11), libraries (LIB), and a variety of other user and administrative commands and files.

  • /Var-contains directories of data used by various applications. in particle, this is where you wowould place files that you share as an FTP server (/var/FTP) or a Web server (/var/www ). it also contains all system log files (/var/log ). in time, FTP, HTTP, and similar services will move to the/srv directory to adhere to the Linux standards base (www.freestandards.org/spec ).

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