<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1256">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<div>
<div>
<div style="font-size:11pt; font-family:Calibri,sans-serif">Hi Alison, thanks to this hidden gem of reference, and with your pointers i was able to a pretty nice job of reordering the units and dependencies to pull ahead the early boot target. I agree after
spending a few hours, i could bring up my functional ui with significant improvements. I have some queries,but would like to reserve till i get it to a stable shape. Thanks again for the well directed response,really helpful<br>
<br>
Regards<br>
Vibin V,</div>
</div>
<div dir="ltr">
<hr>
<span style="font-size:11pt; font-family:Calibri,sans-serif; font-weight:bold">From:
</span><span style="font-size:11pt; font-family:Calibri,sans-serif"><a href="mailto:Alison_Chaiken@mentor.com">Chaiken, Alison</a></span><br>
<span style="font-size:11pt; font-family:Calibri,sans-serif; font-weight:bold">Sent:
</span><span style="font-size:11pt; font-family:Calibri,sans-serif">ý05-ý09-ý2014 21:47</span><br>
<span style="font-size:11pt; font-family:Calibri,sans-serif; font-weight:bold">To:
</span><span style="font-size:11pt; font-family:Calibri,sans-serif"><a href="mailto:systemd-devel@lists.freedesktop.org">systemd-devel@lists.freedesktop.org</a></span><br>
<span style="font-size:11pt; font-family:Calibri,sans-serif; font-weight:bold">Cc:
</span><span style="font-size:11pt; font-family:Calibri,sans-serif"><a href="mailto:vvibin@visteon.com">Viswambharan, Vibin (V.)</a></span><br>
<span style="font-size:11pt; font-family:Calibri,sans-serif; font-weight:bold">Subject:
</span><span style="font-size:11pt; font-family:Calibri,sans-serif">RE: Please help: systemd "special targets" activaton order for fast boot
</span><br>
<br>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Vibin Viswambharan asks:<br>
>1/ Is there a recommended way to re-organize the boot target order <br>
<br>
Vibin, welcome to the wonderful world of systemd, which, contrary to FUD, is much easier to use than SysVinit. You're off to a solid start given that you've found the man pages, but you'll also want to consult "systemd for Administrators" at
<br>
<br>
<a href="http://0pointer.net/blog/index2.html">http://0pointer.net/blog/index2.html</a><br>
<br>
and particularly in getting started<br>
<br>
<a href="https://web.archive.org/web/20131206191347/http://www.h-online.com/open/features/Booting-up-Tools-and-tips-for-systemd-1570630.html">https://web.archive.org/web/20131206191347/http://www.h-online.com/open/features/Booting-up-Tools-and-tips-for-systemd-1570630.html</a><br>
<br>
It's quite easy to reorganize the boot order by creating custom levels and putting whatever actions or daemons in them you like. Systemd is more foolproof than SysVinit since putting a daemon in the first target that depends on something in the eighth target
will result in the that early daemon simply waiting until its dependence is ready. The original configuration in /lib/systemd need not be modified to experiment since you can override it by making your changes in /etc/systemd.<br>
<br>
For the automotive fastboot case that concerns you, there are definitely industry-specific best practices. Clearly you can remove services you don't need, mount filesystems needed for rear-view camera before those needed for navigation and media, defer initialization
of less important devices, etc. Notably the systemd-readahead feature that is under threat of deprecation is widely used in automotive, and behind the scenes some of us are discussing a way to support it going forward.<br>
<br>
>2/ Is there a way to define custom target like "early-boot.target" <br>
<br>
Yes, you will certainly want to do that in /etc/systemd. Read the section on "Wants and needs" at
<br>
<br>
<a href="https://web.archive.org/web/20131208125730/http://www.h-online.com/open/features/Booting-up-Tools-and-tips-for-systemd-1570630.html?page=3">https://web.archive.org/web/20131208125730/http://www.h-online.com/open/features/Booting-up-Tools-and-tips-for-systemd-1570630.html?page=3</a><br>
<br>
(BTW, Lennart and Kai, is there a reason this great article couldn't be hosted at freedesktop.org or 0pointer.de?)<br>
<br>
>3/ Is there any special consideration to disable these special targets like (swap.target,local-fs target if they are not >used in the embedded devices?).<br>
<br>
For any targets that include no services you want, remove them from the filesystem: it's that simple.<br>
<br>
Best wishes,<br>
Alison Chaiken<br>
alison_chaiken@mentor.com<br>
<br>
</div>
</span></font>
</body>
</html>