tree-wide: use mdash instead of a two minuses

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2016-04-21 22:57:06 -04:00
parent fb0c7174e3
commit ccddd104fc
20 changed files with 59 additions and 59 deletions

50
NEWS
View File

@ -311,7 +311,7 @@ CHANGES WITH 229:
Andersen, Tom Gundersen, Torstein Husebø, Umut Tezduyar Lindskog, Vito Andersen, Tom Gundersen, Torstein Husebø, Umut Tezduyar Lindskog, Vito
Caputo, WaLyong Cho, Yu Watanabe, Zbigniew Jędrzejewski-Szmek Caputo, WaLyong Cho, Yu Watanabe, Zbigniew Jędrzejewski-Szmek
-- Berlin, 2016-02-11 Berlin, 2016-02-11
CHANGES WITH 228: CHANGES WITH 228:
@ -512,7 +512,7 @@ CHANGES WITH 228:
Tom Gundersen, Torstein Husebø, Vito Caputo, Zbigniew Tom Gundersen, Torstein Husebø, Vito Caputo, Zbigniew
Jędrzejewski-Szmek Jędrzejewski-Szmek
-- Berlin, 2015-11-18 Berlin, 2015-11-18
CHANGES WITH 227: CHANGES WITH 227:
@ -716,7 +716,7 @@ CHANGES WITH 227:
Andersen, Tom Gundersen, Tom Lyon, Viktar Vauchkevich, Andersen, Tom Gundersen, Tom Lyon, Viktar Vauchkevich,
Zbigniew Jędrzejewski-Szmek, Марко М. Костић Zbigniew Jędrzejewski-Szmek, Марко М. Костић
-- Berlin, 2015-10-07 Berlin, 2015-10-07
CHANGES WITH 226: CHANGES WITH 226:
@ -836,7 +836,7 @@ CHANGES WITH 226:
Hack, Susant Sahani, Sylvain Pasche, Thomas Hindoe Paaboel Hack, Susant Sahani, Sylvain Pasche, Thomas Hindoe Paaboel
Andersen, Tom Gundersen, Torstein Husebø Andersen, Tom Gundersen, Torstein Husebø
-- Berlin, 2015-09-08 Berlin, 2015-09-08
CHANGES WITH 225: CHANGES WITH 225:
@ -909,7 +909,7 @@ CHANGES WITH 225:
Paaboel Andersen, Thomas Meyer, Tom Gundersen, Vincent Batts, Paaboel Andersen, Thomas Meyer, Tom Gundersen, Vincent Batts,
WaLyong Cho, Zbigniew Jędrzejewski-Szmek WaLyong Cho, Zbigniew Jędrzejewski-Szmek
-- Berlin, 2015-08-27 Berlin, 2015-08-27
CHANGES WITH 224: CHANGES WITH 224:
@ -924,7 +924,7 @@ CHANGES WITH 224:
Herrmann, Herman Fries, Johannes Nixdorf, Kay Sievers, Lennart Herrmann, Herman Fries, Johannes Nixdorf, Kay Sievers, Lennart
Poettering, Peter Hutterer, Susant Sahani, Tom Gundersen Poettering, Peter Hutterer, Susant Sahani, Tom Gundersen
-- Berlin, 2015-07-31 Berlin, 2015-07-31
CHANGES WITH 223: CHANGES WITH 223:
@ -989,7 +989,7 @@ CHANGES WITH 223:
Gundersen, Torstein Husebø, Umut Tezduyar Lindskog, Vito Caputo, Gundersen, Torstein Husebø, Umut Tezduyar Lindskog, Vito Caputo,
Vivenzio Pagliari, Zbigniew Jędrzejewski-Szmek Vivenzio Pagliari, Zbigniew Jędrzejewski-Szmek
-- Berlin, 2015-07-29 Berlin, 2015-07-29
CHANGES WITH 222: CHANGES WITH 222:
@ -1029,7 +1029,7 @@ CHANGES WITH 222:
Susant Sahani, Thomas Hindoe Paaboel Andersen, Tom Gundersen, Torstein Susant Sahani, Thomas Hindoe Paaboel Andersen, Tom Gundersen, Torstein
Husebø, Vedran Miletić, WaLyong Cho, Zbigniew Jędrzejewski-Szmek Husebø, Vedran Miletić, WaLyong Cho, Zbigniew Jędrzejewski-Szmek
-- Berlin, 2015-07-07 Berlin, 2015-07-07
CHANGES WITH 221: CHANGES WITH 221:
@ -1107,7 +1107,7 @@ CHANGES WITH 221:
Husebø, Umut Tezduyar Lindskog, Viktar Vauchkevich, Werner Husebø, Umut Tezduyar Lindskog, Viktar Vauchkevich, Werner
Fink, Zbigniew Jędrzejewski-Szmek Fink, Zbigniew Jędrzejewski-Szmek
-- Berlin, 2015-06-19 Berlin, 2015-06-19
CHANGES WITH 220: CHANGES WITH 220:
@ -1336,7 +1336,7 @@ CHANGES WITH 220:
Gundersen, Torstein Husebø, Umut Tezduyar Lindskog, Will Gundersen, Torstein Husebø, Umut Tezduyar Lindskog, Will
Woods, Zachary Cook, Zbigniew Jędrzejewski-Szmek Woods, Zachary Cook, Zbigniew Jędrzejewski-Szmek
-- Berlin, 2015-05-22 Berlin, 2015-05-22
CHANGES WITH 219: CHANGES WITH 219:
@ -1660,7 +1660,7 @@ CHANGES WITH 219:
Lindskog, Veres Lajos, Vincent Batts, WaLyong Cho, Wieland Lindskog, Veres Lajos, Vincent Batts, WaLyong Cho, Wieland
Hoffmann, Zbigniew Jędrzejewski-Szmek Hoffmann, Zbigniew Jędrzejewski-Szmek
-- Berlin, 2015-02-16 Berlin, 2015-02-16
CHANGES WITH 218: CHANGES WITH 218:
@ -1862,7 +1862,7 @@ CHANGES WITH 218:
Torstein Husebø, Umut Tezduyar Lindskog, Vicente Olivert Torstein Husebø, Umut Tezduyar Lindskog, Vicente Olivert
Riera, WaLyong Cho, Wesley Dawson, Zbigniew Jędrzejewski-Szmek Riera, WaLyong Cho, Wesley Dawson, Zbigniew Jędrzejewski-Szmek
-- Berlin, 2014-12-10 Berlin, 2014-12-10
CHANGES WITH 217: CHANGES WITH 217:
@ -2074,7 +2074,7 @@ CHANGES WITH 217:
Husebø, Umut Tezduyar Lindskog, WaLyong Cho, Zbigniew Husebø, Umut Tezduyar Lindskog, WaLyong Cho, Zbigniew
Jędrzejewski-Szmek Jędrzejewski-Szmek
-- Berlin, 2014-10-28 Berlin, 2014-10-28
CHANGES WITH 216: CHANGES WITH 216:
@ -2276,7 +2276,7 @@ CHANGES WITH 216:
Tobias Geerinckx-Rice, Tomasz Torcz, Tom Gundersen, Umut Tobias Geerinckx-Rice, Tomasz Torcz, Tom Gundersen, Umut
Tezduyar Lindskog, Zbigniew Jędrzejewski-Szmek Tezduyar Lindskog, Zbigniew Jędrzejewski-Szmek
-- Berlin, 2014-08-19 Berlin, 2014-08-19
CHANGES WITH 215: CHANGES WITH 215:
@ -2510,7 +2510,7 @@ CHANGES WITH 215:
Paaboel Andersen, Tom Gundersen, Tom Hirst, Umut Tezduyar Paaboel Andersen, Tom Gundersen, Tom Hirst, Umut Tezduyar
Lindskog, Uoti Urpala, Zbigniew Jędrzejewski-Szmek Lindskog, Uoti Urpala, Zbigniew Jędrzejewski-Szmek
-- Berlin, 2014-07-03 Berlin, 2014-07-03
CHANGES WITH 214: CHANGES WITH 214:
@ -2704,7 +2704,7 @@ CHANGES WITH 214:
Andersen, Tom Gundersen, Umut Tezduyar Lindskog, Zbigniew Andersen, Tom Gundersen, Umut Tezduyar Lindskog, Zbigniew
Jędrzejewski-Szmek Jędrzejewski-Szmek
-- Berlin, 2014-06-11 Berlin, 2014-06-11
CHANGES WITH 213: CHANGES WITH 213:
@ -2836,7 +2836,7 @@ CHANGES WITH 213:
Lindskog, WaLyong Cho, Will Woods, Zbigniew Lindskog, WaLyong Cho, Will Woods, Zbigniew
Jędrzejewski-Szmek Jędrzejewski-Szmek
-- Beijing, 2014-05-28 Beijing, 2014-05-28
CHANGES WITH 212: CHANGES WITH 212:
@ -2985,7 +2985,7 @@ CHANGES WITH 212:
Umut Tezduyar Lindskog, Wieland Hoffmann, Zbigniew Umut Tezduyar Lindskog, Wieland Hoffmann, Zbigniew
Jędrzejewski-Szmek Jędrzejewski-Szmek
-- Berlin, 2014-03-25 Berlin, 2014-03-25
CHANGES WITH 211: CHANGES WITH 211:
@ -3109,7 +3109,7 @@ CHANGES WITH 211:
Gundersen, Umut Tezduyar Lindskog, Uoti Urpala, Zachary Cook, Gundersen, Umut Tezduyar Lindskog, Uoti Urpala, Zachary Cook,
Zbigniew Jędrzejewski-Szmek Zbigniew Jędrzejewski-Szmek
-- Berlin, 2014-03-12 Berlin, 2014-03-12
CHANGES WITH 210: CHANGES WITH 210:
@ -3214,7 +3214,7 @@ CHANGES WITH 210:
Paaboel Andersen, Tom Gundersen, Umut Tezduyar Lindskog, Paaboel Andersen, Tom Gundersen, Umut Tezduyar Lindskog,
Zbigniew Jędrzejewski-Szmek Zbigniew Jędrzejewski-Szmek
-- Berlin, 2014-02-24 Berlin, 2014-02-24
CHANGES WITH 209: CHANGES WITH 209:
@ -3670,7 +3670,7 @@ CHANGES WITH 209:
Pavlín, Vincent Batts, WaLyong Cho, William Giokas, Yang Pavlín, Vincent Batts, WaLyong Cho, William Giokas, Yang
Zhiyong, Yin Kangkai, Yuxuan Shui, Zbigniew Jędrzejewski-Szmek Zhiyong, Yin Kangkai, Yuxuan Shui, Zbigniew Jędrzejewski-Szmek
-- Berlin, 2014-02-20 Berlin, 2014-02-20
CHANGES WITH 208: CHANGES WITH 208:
@ -3757,7 +3757,7 @@ CHANGES WITH 208:
Michael Scherer, Michał Górny, Mike Gilbert, Patrick McCarty, Michael Scherer, Michał Górny, Mike Gilbert, Patrick McCarty,
Sebastian Ott, Tom Gundersen, Zbigniew Jędrzejewski-Szmek Sebastian Ott, Tom Gundersen, Zbigniew Jędrzejewski-Szmek
-- Berlin, 2013-10-02 Berlin, 2013-10-02
CHANGES WITH 207: CHANGES WITH 207:
@ -3857,7 +3857,7 @@ CHANGES WITH 207:
Paaboel Andersen, Tom Gundersen, Umut Tezduyar, WANG Chao, Paaboel Andersen, Tom Gundersen, Umut Tezduyar, WANG Chao,
William Giokas, Zbigniew Jędrzejewski-Szmek William Giokas, Zbigniew Jędrzejewski-Szmek
-- Berlin, 2013-09-13 Berlin, 2013-09-13
CHANGES WITH 206: CHANGES WITH 206:
@ -3956,14 +3956,14 @@ CHANGES WITH 206:
Thomas H.P. Andersen, Tom Gundersen, Tomasz Torcz, William Thomas H.P. Andersen, Tom Gundersen, Tomasz Torcz, William
Giokas, Zbigniew Jędrzejewski-Szmek Giokas, Zbigniew Jędrzejewski-Szmek
-- Berlin, 2013-07-23 Berlin, 2013-07-23
CHANGES WITH 205: CHANGES WITH 205:
* Two new unit types have been introduced: * Two new unit types have been introduced:
Scope units are very similar to service units, however, are Scope units are very similar to service units, however, are
created out of pre-existing processes -- instead of PID 1 created out of pre-existing processes instead of PID 1
forking off the processes. By using scope units it is forking off the processes. By using scope units it is
possible for system services and applications to group their possible for system services and applications to group their
own child processes (worker processes) in a powerful way own child processes (worker processes) in a powerful way

2
TODO
View File

@ -384,7 +384,7 @@ Features:
* systemd-inhibit: make taking delay locks useful: support sending SIGINT or SIGTERM on PrepareForSleep() * systemd-inhibit: make taking delay locks useful: support sending SIGINT or SIGTERM on PrepareForSleep()
* remove any syslog support from log.c -- we probably cannot do this before split-off udev is gone for good * remove any syslog support from log.c we probably cannot do this before split-off udev is gone for good
* shutdown logging: store to EFI var, and store to USB stick? * shutdown logging: store to EFI var, and store to USB stick?

View File

@ -234,7 +234,7 @@
bus-activatable by supplying a D-Bus service activation bus-activatable by supplying a D-Bus service activation
configuration file. This has multiple advantages: your daemon configuration file. This has multiple advantages: your daemon
may be started lazily on-demand; it may be started in parallel may be started lazily on-demand; it may be started in parallel
to other daemons requiring it -- which maximizes to other daemons requiring it which maximizes
parallelization and boot-up speed; your daemon can be parallelization and boot-up speed; your daemon can be
restarted on failure without losing any bus requests, as the restarted on failure without losing any bus requests, as the
bus queues requests for activatable services. See below for bus queues requests for activatable services. See below for

View File

@ -97,7 +97,7 @@
<constant>SD_EVENT_PRIORITY_IDLE</constant> (100) may be used to <constant>SD_EVENT_PRIORITY_IDLE</constant> (100) may be used to
indicate event sources that shall be dispatched early, normally or indicate event sources that shall be dispatched early, normally or
late. It is recommended to specify priorities based on these late. It is recommended to specify priorities based on these
definitions, and relative to them -- however, the full 64bit definitions, and relative to them however, the full 64bit
signed integer range is available for ordering event signed integer range is available for ordering event
sources.</para> sources.</para>

View File

@ -148,7 +148,7 @@
<function>sd_journal_enumerate_unique()</function>. This threshold <function>sd_journal_enumerate_unique()</function>. This threshold
is a hint only: it indicates that the client program is interested is a hint only: it indicates that the client program is interested
only in the initial parts of the data fields, up to the threshold only in the initial parts of the data fields, up to the threshold
in size -- but the library might still return larger data objects. in size but the library might still return larger data objects.
That means applications should not rely exclusively on this That means applications should not rely exclusively on this
setting to limit the size of the data fields returned, but need to setting to limit the size of the data fields returned, but need to
apply a explicit size limit on the returned data as well. This apply a explicit size limit on the returned data as well. This

View File

@ -67,7 +67,7 @@
processes.</para> processes.</para>
<para>The purpose of this tool is to query system-wide passwords <para>The purpose of this tool is to query system-wide passwords
-- that is passwords not attached to a specific user account. that is passwords not attached to a specific user account.
Examples include: unlocking encrypted hard disks when they are Examples include: unlocking encrypted hard disks when they are
plugged in or at boot, entering an SSL certificate passphrase for plugged in or at boot, entering an SSL certificate passphrase for
web and VPN servers.</para> web and VPN servers.</para>

View File

@ -262,7 +262,7 @@
<term><uri>boot</uri></term> <term><uri>boot</uri></term>
<listitem><para>Limit events to the current boot of the system <listitem><para>Limit events to the current boot of the system
(like <command>journalctl --this--boot</command>).</para></listitem> (like <command>journalctl --this-boot</command>).</para></listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>

View File

@ -502,7 +502,7 @@
host interface name and container interface name. The latter host interface name and container interface name. The latter
may be omitted in which case the container and host sides will may be omitted in which case the container and host sides will
be assigned the same name. This switch is independent of be assigned the same name. This switch is independent of
<option>--network-veth</option>, and -- in contrast -- may be <option>--network-veth</option>, and — in contrast — may be
used multiple times, and allows configuration of the network used multiple times, and allows configuration of the network
interface names. Note that <option>--network-bridge=</option> interface names. Note that <option>--network-bridge=</option>
has no effect on interfaces created with has no effect on interfaces created with

View File

@ -742,7 +742,7 @@
defined what that is supposed to mean, with one exception: defined what that is supposed to mean, with one exception:
at shutdown, a unit that is ordered after at shutdown, a unit that is ordered after
<filename>network.target</filename> will be stopped before <filename>network.target</filename> will be stopped before
the network -- to whatever level it might be set up then -- the network — to whatever level it might be set up then —
is shut down. It is hence useful when writing service files is shut down. It is hence useful when writing service files
that require network access on shutdown, which should order that require network access on shutdown, which should order
themselves after this target, but not pull it in. Also see themselves after this target, but not pull it in. Also see

View File

@ -3,7 +3,7 @@
Copyright 2010 Lennart Poettering Copyright 2010 Lennart Poettering
Copyright (C) 2012 Roberto Sassu - Politecnico di Torino, Italy Copyright (C) 2012 Roberto Sassu - Politecnico di Torino, Italy
TORSEC group -- http://security.polito.it TORSEC group http://security.polito.it
systemd is free software; you can redistribute it and/or modify it systemd is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by under the terms of the GNU Lesser General Public License as published by

View File

@ -5,7 +5,7 @@
Copyright 2010 Lennart Poettering Copyright 2010 Lennart Poettering
Copyright (C) 2012 Roberto Sassu - Politecnico di Torino, Italy Copyright (C) 2012 Roberto Sassu - Politecnico di Torino, Italy
TORSEC group -- http://security.polito.it TORSEC group http://security.polito.it
systemd is free software; you can redistribute it and/or modify it systemd is free software; you can redistribute it and/or modify it
under the terms of the GNU Lesser General Public License as published by under the terms of the GNU Lesser General Public License as published by

View File

@ -3600,7 +3600,7 @@ int unit_kill_context(
* cases. It doesn't work at all in * cases. It doesn't work at all in
* containers, and outside of containers it * containers, and outside of containers it
* can be confused easily by left-over * can be confused easily by left-over
* directories in the cgroup -- which however * directories in the cgroup which however
* should not exist in non-delegated units. On * should not exist in non-delegated units. On
* the unified hierarchy that's different, * the unified hierarchy that's different,
* there we get proper events. Hence rely on * there we get proper events. Hence rely on

View File

@ -1660,7 +1660,7 @@ static int server_connect_notify(Server *s) {
it. Specifically: given that PID 1 might block on it. Specifically: given that PID 1 might block on
dbus-daemon during IPC, and dbus-daemon is logging to us, dbus-daemon during IPC, and dbus-daemon is logging to us,
and might hence block on us, we might end up in a deadlock and might hence block on us, we might end up in a deadlock
if we block on sending PID 1 notification messages -- by if we block on sending PID 1 notification messages by
generating a full blocking circle. To avoid this, let's generating a full blocking circle. To avoid this, let's
create a non-blocking socket, and connect it to the create a non-blocking socket, and connect it to the
notification socket, and then wait for POLLOUT before we notification socket, and then wait for POLLOUT before we

View File

@ -1212,19 +1212,19 @@ int device_get_id_filename(sd_device *device, const char **ret) {
if (major(devnum) > 0) { if (major(devnum) > 0) {
assert(subsystem); assert(subsystem);
/* use dev_t -- b259:131072, c254:0 */ /* use dev_t b259:131072, c254:0 */
r = asprintf(&id, "%c%u:%u", r = asprintf(&id, "%c%u:%u",
streq(subsystem, "block") ? 'b' : 'c', streq(subsystem, "block") ? 'b' : 'c',
major(devnum), minor(devnum)); major(devnum), minor(devnum));
if (r < 0) if (r < 0)
return -ENOMEM; return -ENOMEM;
} else if (ifindex > 0) { } else if (ifindex > 0) {
/* use netdev ifindex -- n3 */ /* use netdev ifindex n3 */
r = asprintf(&id, "n%u", ifindex); r = asprintf(&id, "n%u", ifindex);
if (r < 0) if (r < 0)
return -ENOMEM; return -ENOMEM;
} else { } else {
/* use $subsys:$sysname -- pci:0000:00:1f.2 /* use $subsys:$sysname pci:0000:00:1f.2
* sysname() has '!' translated, get it from devpath * sysname() has '!' translated, get it from devpath
*/ */
const char *sysname; const char *sysname;

View File

@ -63,7 +63,7 @@ static int getnameinfo_handler(sd_resolve_query *q, int ret, const char *host, c
return 0; return 0;
} }
printf("Host: %s -- Serv: %s\n", strna(host), strna(serv)); printf("Host: %s Serv: %s\n", strna(host), strna(serv));
return 0; return 0;
} }

View File

@ -9,7 +9,7 @@
int main(int argc, char **argv) { int main(int argc, char **argv) {
test_table(bond_mode, NETDEV_BOND_MODE); test_table(bond_mode, NETDEV_BOND_MODE);
/* test_table(link_state, LINK_STATE); -- not a reversible mapping */ /* test_table(link_state, LINK_STATE); not a reversible mapping */
test_table(link_operstate, LINK_OPERSTATE); test_table(link_operstate, LINK_OPERSTATE);
test_table(address_family_boolean, ADDRESS_FAMILY_BOOLEAN); test_table(address_family_boolean, ADDRESS_FAMILY_BOOLEAN);
test_table(netdev_kind, NETDEV_KIND); test_table(netdev_kind, NETDEV_KIND);

View File

@ -1481,7 +1481,7 @@ static int setup_journal(const char *directory) {
} }
if (arg_link_journal == LINK_HOST) { if (arg_link_journal == LINK_HOST) {
/* don't create parents here -- if the host doesn't have /* don't create parents here if the host doesn't have
* permanent journal set up, don't force it here */ * permanent journal set up, don't force it here */
if (mkdir(p, 0755) < 0 && errno != EEXIST) { if (mkdir(p, 0755) < 0 && errno != EEXIST) {

View File

@ -8,7 +8,7 @@ D = Comprehensively Implemented, by a dependency of resolved
Y https://tools.ietf.org/html/rfc1034 → DOMAIN NAMES - CONCEPTS AND FACILITIES Y https://tools.ietf.org/html/rfc1034 → DOMAIN NAMES - CONCEPTS AND FACILITIES
Y https://tools.ietf.org/html/rfc1035 → DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION Y https://tools.ietf.org/html/rfc1035 → DOMAIN NAMES - IMPLEMENTATION AND SPECIFICATION
? https://tools.ietf.org/html/rfc1101 → DNS Encoding of Network Names and Other Types ? https://tools.ietf.org/html/rfc1101 → DNS Encoding of Network Names and Other Types
Y https://tools.ietf.org/html/rfc1123 → Requirements for Internet Hosts -- Application and Support Y https://tools.ietf.org/html/rfc1123 → Requirements for Internet Hosts Application and Support
~ https://tools.ietf.org/html/rfc1464 → Using the Domain Name System To Store Arbitrary String Attributes ~ https://tools.ietf.org/html/rfc1464 → Using the Domain Name System To Store Arbitrary String Attributes
Y https://tools.ietf.org/html/rfc1536 → Common DNS Implementation Errors and Suggested Fixes Y https://tools.ietf.org/html/rfc1536 → Common DNS Implementation Errors and Suggested Fixes
Y https://tools.ietf.org/html/rfc1876 → A Means for Expressing Location Information in the Domain Name System Y https://tools.ietf.org/html/rfc1876 → A Means for Expressing Location Information in the Domain Name System

View File

@ -468,7 +468,7 @@ static void link_read_settings(Link *l) {
} }
if (r > 0) { if (r > 0) {
/* If this link used to be managed, but is now unmanaged, flush all our settings -- but only once. */ /* If this link used to be managed, but is now unmanaged, flush all our settings but only once. */
if (l->is_managed) if (l->is_managed)
link_flush_settings(l); link_flush_settings(l);

View File

@ -27,21 +27,21 @@
* http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames * http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames
* *
* Two character prefixes based on the type of interface: * Two character prefixes based on the type of interface:
* en -- Ethernet * en Ethernet
* sl -- serial line IP (slip) * sl serial line IP (slip)
* wl -- wlan * wl wlan
* ww -- wwan * ww wwan
* *
* Type of names: * Type of names:
* b<number> -- BCMA bus core number * b<number> BCMA bus core number
* c<bus_id> -- CCW bus group name, without leading zeros [s390] * c<bus_id> CCW bus group name, without leading zeros [s390]
* o<index>[d<dev_port>] -- on-board device index number * o<index>[d<dev_port>] on-board device index number
* s<slot>[f<function>][d<dev_port>] -- hotplug slot index number * s<slot>[f<function>][d<dev_port>] hotplug slot index number
* x<MAC> -- MAC address * x<MAC> MAC address
* [P<domain>]p<bus>s<slot>[f<function>][d<dev_port>] * [P<domain>]p<bus>s<slot>[f<function>][d<dev_port>]
* -- PCI geographical location * PCI geographical location
* [P<domain>]p<bus>s<slot>[f<function>][u<port>][..][c<config>][i<interface>] * [P<domain>]p<bus>s<slot>[f<function>][u<port>][..][c<config>][i<interface>]
* -- USB port number chain * USB port number chain
* *
* All multi-function PCI devices will carry the [f<function>] number in the * All multi-function PCI devices will carry the [f<function>] number in the
* device name, including the function 0 device. * device name, including the function 0 device.
@ -140,9 +140,9 @@ static int dev_pci_onboard(struct udev_device *dev, struct netnames *names) {
const char *attr; const char *attr;
int idx; int idx;
/* ACPI _DSM -- device specific method for naming a PCI or PCI Express device */ /* ACPI _DSM device specific method for naming a PCI or PCI Express device */
attr = udev_device_get_sysattr_value(names->pcidev, "acpi_index"); attr = udev_device_get_sysattr_value(names->pcidev, "acpi_index");
/* SMBIOS type 41 -- Onboard Devices Extended Information */ /* SMBIOS type 41 Onboard Devices Extended Information */
if (!attr) if (!attr)
attr = udev_device_get_sysattr_value(names->pcidev, "index"); attr = udev_device_get_sysattr_value(names->pcidev, "index");
if (!attr) if (!attr)
@ -230,7 +230,7 @@ static int dev_pci_slot(struct udev_device *dev, struct netnames *names) {
if (l == 0) if (l == 0)
names->pci_path[0] = '\0'; names->pci_path[0] = '\0';
/* ACPI _SUN -- slot user number */ /* ACPI _SUN slot user number */
pci = udev_device_new_from_subsystem_sysname(udev, "subsystem", "pci"); pci = udev_device_new_from_subsystem_sysname(udev, "subsystem", "pci");
if (!pci) { if (!pci) {
err = -ENOENT; err = -ENOENT;