<div>Hi.</div><div>Â </div><div>On the way to create makedevs.test, I found naming differs from busybox if the count is 1.</div><div>For example, Stdin for makedevs is "AAA c 1 0 0 2 5 0 0 1"</div><div>And it makes AAA0 device instead of AAA. (Busybox makes AAA in this case)</div><div>I'm not sure which one is correct, but think operation should follow common way.</div><div>Â </div><div>Â </div><div>diff --git a/toys/other/makedevs.c b/toys/other/makedevs.c<br>index 0d20a57..4b6b4b7 100644<br>--- a/toys/other/makedevs.c<br>+++ b/toys/other/makedevs.c<br>@@ -84,7 +84,7 @@ void makedevs_main()<br>Â Â Â Â while (*node == '/') node++; // using relative path<br>Â <br>Â Â Â Â for (i = 0; (!cnt && !i) || i < cnt; i++) {<br>-Â Â Â Â Â if (cnt) {<br>+Â Â Â Â Â if (cnt > 1) {<br>Â Â Â Â Â Â Â Â snprintf(toybuf, sizeof(toybuf), "%s%u", node, st_val + i);<br>Â Â Â Â Â Â Â Â ptr = toybuf;<br>Â Â Â Â Â Â } else ptr = node;<br>-- </div>