[systemd-devel] systemd-repart with multiple block devices

Mehmet Akbulut mehmet.akbulut at motional.com
Thu Nov 17 05:32:34 UTC 2022


Please disregard this thread. I realized --definition alone does exactly
address this need.

Thank you.

Sincerely,
Mehmet

On Wed, Nov 16, 2022 at 5:19 PM Mehmet Akbulut <mehmet.akbulut at motional.com>
wrote:

> Hello,
>
> I have a use case where a complete OS installation spans multiple block
> devices. (e.g. /dev/sda, /dev/sdb, etc..) As such, I'm looking to create
> partitions across multiple devices rather than just a single block device
> that we booted from.
>
> Right now it looks like I need to spawn multiple instances of
> systemd-repart with --image /dev/sdX --root
> /special-dir-for-sdX-which-contains-etc-repartd. However this feels a bit
> unnatural and it might be that is not intended for this use case. Something
> like --directory to specify config directory (akin to journalctl which
> takes both --root and --directory) could help reduce boilerplate file
> hierarchy. Or maybe something more declarative in the config files such as
> BlockDevice=/dev/sdX so the configs only apply to specific devices.
>
> I would love to hear opinions and suggestions on this.
>
> Sincerely,
> Mehmet Akbulut
>

-- 
This email contains information belonging to Motional AD LLC or its 
affiliates and may contain confidential, proprietary, copyrighted and/or 
privileged information. Any unauthorized review, use, reliance, disclosure, 
distribution or copying is prohibited. If you are not the intended 
recipient, immediately destroy all copies of the original email and any 
attachments and contact the sender by reply email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20221117/4f411e68/attachment-0001.htm>


More information about the systemd-devel mailing list