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.