Re: systemd-repart with multiple block devices

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxx> 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.

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux