The orthogonal design of Linux makes it completely a superset of Windows

Source: Internet
Author: User

Linux is a Windows superset. It means that Linux can be fully simulated into a Windows system interface. How can this problem be solved? As we all know, the file system of Linux is very different from that of windows. Linux uses a tree structure with a root node/node, while windows is divided into several drive letters, however, it is better to say that the disk layout of Windows is a special case of Linux. As mentioned in the previous article, windows also has a tree-like file system, for example, if a Windows system has three drive letters C, D, and E, we can divide a disk into three ext3 partitions and create three directories at the root, c, D, E respectively, and then mount these three partitions to these three directories. If someone asks, etc, sbin, Boot, sys, what to do is very simple. Linux is flexible. As long as there is a mount point, a partition can be mounted anywhere. More importantly, the Linux kernel is almost unrelated to the user space, although many init processes are in/sbin/init and the configuration files are in/etc, you can set the INIT process to/C/Linux/system32/ XXX, and you can put all the configuration files under/C/Linux/AND/C/Linux/system32, and then cancel the home directory, replace it with/C/document and setting/yyy. How to Design the adduser and init processes of the user space on your own is all about the user space, the kernel does not care how you layout the file system and where it is attached.

There is a compatible Kernel on the Internet. Is it necessary to allow Windows programs to run directly on Linux? Windows is just a habit. In essence, it is a folder directory that is familiar with windows. If Linux can fully simulate this situation, why should we make it compatible with the kernel, fortunately, Linux can simulate this situation completely. A user space program can be rewritten to implement a Linux kernel-supported operating system that is similar to a Windows operating system. In fact, no matter how the operating system implements threads or other issues. The reason why we can completely rewrite the user space program to make it known as forged windows is that users in Linux can control the first INIT process of the user space and everything afterwards. This unique orthogonal design of Linux is the superset of Many operating systems.

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.