On Sat, Oct 26, 2013 at 8:40 PM, Tom Gundersen <[email protected]> wrote: > On Sat, Oct 26, 2013 at 8:39 PM, Jan Engelhardt <[email protected]> wrote: >> On Saturday 2013-10-26 20:32, Kay Sievers wrote: >>>On Sat, Oct 26, 2013 at 8:16 PM, Jan Engelhardt <[email protected]> wrote: >>>> On Saturday 2013-10-26 16:16, Tom Gundersen wrote: >>>>> >>>>>The tool is configured by .link files in /etc/net/links/ (with the usual >>>>>overriding logic in /run and /lib). The first (in lexicographical order) >>>>>matching .link file is applied to a given device, and all others are >>>>>ignored. >>>> >>>> Is there anything else in /etc/net that we need another subdirectory, >>>> /etc/net/links? >>> >>>There will probably be config for DNS, NTP, and all these things in >>>the future, therefore we need a subdirectory for these files. >>>[...] The 3 types [link, netif, ...] could maybe live in one directory >>>though. >> >> Indeed I was thinking along that line: Because they have different >> suffixes, a wildcard - for where such will be used - would be >> unambiguous enough to allow them to share a dir. > > Indeed, this makes the most sense. I'll change it to /etc/net before > committing.
So after a bit more discussion with Kay, we came to the conclusion that some sort of subdir will be necessary as we want to store other kinds of configuration in /etc/net as well, which don't belong with the *.links files. I'll keep the subdir as 'links' for now, but we might want to revisit this before the next release if we come up with a better name. Cheers, Tom _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
