![]() r-r-r- 1 root root 0 Dec 02 00:18 zoneinfo r-r-r- 1 root root 0 Dec 02 00:18 vmstat r-r-r- 1 root root 0 Dec 02 00:18 filesystemsĭr-xr-xr-x 5 root root 0 Dec 02 00:18 fs/ r-r-r- 1 root root 0 Dec 02 00:18 diskstats r-r-r- 1 root root 0 Dec 02 00:14 devices r-r-r- 1 root root 0 Dec 02 00:14 cpuinfo r-r-r- 1 root root 0 Dec 02 00:18 consoles Let’s take a look at what’s inside our /proc directory − # ls -halF /proc Most Linux distros store virtual files in the /proc directory We may need root privileges to read some of the files stored in the virtual environment. Unlike a regular document, virtual documents don't take up space on the hard drive and are only created when they're opened. They're kind of lenses through which you can look into the running Linux kernel. By reading them, we can see what’s going on inside the Linux kernel. The Linux kernel supports this feature natively, but other operating systems may not be able to support it.Ī virtual filesystem is a special kind of filesystem available on Linux−powered operating systems. This approach makes it possible to use multiple operating systems on one machine. For example, you can open a text document or image file by specifying its name rather than knowing exactly where it is located. The VFS provides a way to access data without having to know where it actually resides. Virtual FilesĪ virtual file system (VFS) is an abstraction layer that allows us to treat files as if they were stored on a disk drive. We’ll briefly look at the concept of virtual file systems before we dive into the details of the topic.Īfterward, we’ll discuss the flags obtained from the /proc/cpuinfo virtual directory for different CPU manufacturers such Intel, AMD, and Arm. We’ll go through some of the features available on the CPU installed on our computer’s motherboard.
0 Comments
Leave a Reply. |