]> git.ipfire.org Git - thirdparty/systemd.git/commit
namespace: when creating device nodes, also create /dev/char/* symlinks
authorLennart Poettering <lennart@poettering.net>
Thu, 2 Aug 2018 15:43:49 +0000 (17:43 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 20 Aug 2018 13:58:11 +0000 (15:58 +0200)
commitb2a60844c411ff0e500c5d5edee2d53e597517c2
treeca77b500b45bef0545c03655d0a5d329b3fc3988
parent5d00545a6eb6d225ec1839f72c5720c9fe73d069
namespace: when creating device nodes, also create /dev/char/* symlinks

On the host these symlinks are created by udev, and we consider them API
and make use of them ourselves at various places. Hence when running a
private /dev, also create these symlinks so that lookups by major/minor
work in such an environment, too.
src/core/namespace.c