[systemd-devel] .network has [Link] and there's already .link

Lennart Poettering lennart at poettering.net
Fri Jul 13 17:02:09 UTC 2018


On Fr, 13.07.18 18:52, Francis Moreau (francis.moro at gmail.com) wrote:

> Hello,
> 
> I dont understand .network has [Link] section whereas network device
> configuration can also done with .link file.
> 
> It seems that there's a overlap... what is the rational here ?

.link generally only contains link-specific options, while .network
generally only contains network-specific options. There are a few
options howver that are kinda in the middle, and fit into both
categories, for example the MTU. Hence .network has a section for that
kind of stuff, even though .link already has them.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list