From: Denys Vlasenko Date: Mon, 6 Feb 2012 00:00:00 +0000 (+0100) Subject: mdev: add a comment. no code changes X-Git-Tag: 1_20_0~81 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=638dbc34b3dd2a6e340a2370056913ed5770d196;p=oweals%2Fbusybox.git mdev: add a comment. no code changes Signed-off-by: Denys Vlasenko --- diff --git a/util-linux/mdev.c b/util-linux/mdev.c index 976568814..67de52d06 100644 --- a/util-linux/mdev.c +++ b/util-linux/mdev.c @@ -565,8 +565,12 @@ static void make_device(char *path, int delete) chown(node_name, rule->ugid.uid, rule->ugid.gid); } if (ENABLE_FEATURE_MDEV_RENAME && alias) { - if (aliaslink == '>') + if (aliaslink == '>') { +//TODO: on devtmpfs, device_name already exists and symlink() fails. +//End result is that instead of symlink, we have two nodes. +//What should be done? symlink(node_name, device_name); + } } }