projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbf1e3c
)
mdev: add a comment. no code changes
author
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 6 Feb 2012 00:00:00 +0000
(
01:00
+0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Mon, 6 Feb 2012 00:00:00 +0000
(
01:00
+0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
util-linux/mdev.c
patch
|
blob
|
history
diff --git
a/util-linux/mdev.c
b/util-linux/mdev.c
index 976568814f53ea9828d41939526eb4eb3cdd01af..67de52d06b94969fd70f0cf9cc3690bd0f60efcb 100644
(file)
--- 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);
+ }
}
}