[systemd-devel] Mount options for ESP, LUKS and rootfs in automatic partition discovery and mounting
Mantas Mikulėnas
grawity at gmail.com
Sun Dec 20 14:20:29 UTC 2020
On Sun, Dec 20, 2020 at 3:49 PM Lennart Poettering <lennart at poettering.net>
wrote:
> On Sa, 19.12.20 15:31, Mantas Mikulėnas (grawity at gmail.com) wrote:
>
> > > THere's an RFE issue open asking to support rootflags= on the kernel
> > > cmdline for the automatically discovered rootfs (that's the option the
> > > kernel uses on traditional rootfs mounting). I think that definitely
> > > makes sense, it just needs someone to implement things.
> > >
> > > I figure in the long run systemd-gpt-auto-generator probably needs
> > > some minimal config file where you can configure these
> > > options. Alternatively, maybe initially adding kernel cmdline params
> > > for each type of mount would suffice (i.e. building on the rootflags=
> > > idea, for the other file systems). Please file an RFE bug about this
> > > on github if that'd would work for you. (or even better, hack it up,
> > > provide a patch).
> >
> > If the admin is going to customize it anyway then maybe /etc/fstab should
> > be that config file? Instead of gpt-generator, why not make udev create a
> > "/dev/disk/by-purpose/efi" symlink and use that as the fstab device...
> > Would that technically work?
>
> That is in fact a great idea. I like. Any chance you can file an RFE
> about this?
>
Submitted: https://github.com/systemd/systemd/issues/18035
--
Mantas Mikulėnas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20201220/476c36a0/attachment.htm>
More information about the systemd-devel
mailing list