In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article focuses on "what is the use of the deserialize parameters of systemd switched-root". Interested friends may wish to take a look. The method introduced in this paper is simple, fast and practical. Next, let the editor take you to learn "what is the use of the deserialize parameter of systemd switched-root"?
These two parameters of systemd-- switched-root-- deserialize are internal, used in the source code, and do not provide an external interface.
It can be viewed in the system through the ps command, which is process 1:
Example 1:
Root 1 0.0 0.4 45808 4092? Ss Aug22 0:02 / usr/lib/systemd/systemd-- system-- deserialize 15
Example 2:
Root 1 0.0 0.4 128096 4144? Ss Aug22 0:02 / usr/lib/systemd/systemd-switched-root-system-deserialize 21
These are intentionally undocumented internal parts of systemd. Very simply, therefore:
Deserialize is used to restore saved internal state that a previous invocation of systemd, exec () ing this one, has written out to a file. Its option argument is an open file descriptor for that process.
Switched-root is used to tell this invocation of systemd that it has been invoked from systemd managing an initramfs, and so should behave accordingly-including turning off some of the behaviour otherwise caused by-- deserialize.
It's a good answer. To expand on this a bit: systemd running with-deserialize-switched-root essentially means systemd was also used in the initramfs. Nowadays this is pretty common, so those two options are to be expected in the command line of PID 1.
At this point, I believe you have a deeper understanding of "what is the use of the deserialize parameters of systemd switched-root?" you might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.