[systemd-devel] EXT :Re: Systemd udev add tag for boot device
Boyce, Kevin P. (AS)
kevin.boyce at ngc.com
Mon Jan 13 18:39:22 UTC 2020
It would be nice feature if systemd could add another tag for the block
device that the kernel and initramfs are on, maybe systemd-boot so that
I could look for it and trigger other udev actions off that tag?
Kevin
On 1/13/20 10:53 AM, Lennart Poettering wrote:
> On Mo, 13.01.20 09:10, Boyce, Kevin P. (AS) (kevin.boyce at ngc.com) wrote:
>
>> Thank you Lennart.
>>
>> I'm thinking I will create my own sort of "built-in" command that can parse
>> /proc/cmdline to look for the root= variable early in udev rules so I can
>> create the tag.
> So, systemd has to for determining the backing file system of some directory
> and this is used by gpt-auto-generator for finding the block device
> backing / or /usr/. I figure you want something like that?
>
> We don't expose that directly though, and it's limited, since we do
> not cover complex storage. We do cover btrfs though.
>
> Lennart
>
> --
> Lennart Poettering, Berlin
More information about the systemd-devel
mailing list