Ignore network devices used by NBD 83/304783/5
authorŁukasz Stelmach <l.stelmach@samsung.com>
Tue, 23 Jan 2024 14:03:21 +0000 (15:03 +0100)
committerŁukasz Stelmach <l.stelmach@samsung.com>
Fri, 8 Mar 2024 14:38:21 +0000 (15:38 +0100)
commita229082fa750b28e7fdabd662bf33fb609fbcfd4
tree2a802e71203d95cd17e1090ade43234da31368f9
parent68690d2c0d108720fcb886df1327004c9e776107
Ignore network devices used by NBD

Add support for ignoring devices used by NBD to mount root the same way
ConnMan ignores devices used for NFS roots. nbdroot= nbddev= parameters
are used by Debian and Tizen initramfs scripts to configure NBD for
mounting as root device.

Change-Id: Ic30ca3110553c0646c3edb2d87a1ea8e8917b370
Signed-off-by: Łukasz Stelmach <l.stelmach@samsung.com>
Forwarded: https://lore.kernel.org/connman/20240308143630.2195695-1-l.stelmach@samsung.com/
src/inet.c