[1.16.2/mdev] "Can't open /proc/sys/kernel/hotplug"
walter harms
wharms at bfs.de
Mon May 30 11:32:17 UTC 2011
Am 30.05.2011 13:22, schrieb Laurent Bercot:
>> I think echo in shell scripts is more portable than printf.
>
> True, but mdev (and all the /proc/sys and /dev handling) isn't exactly
> portable anyway, so this particular shell script will never be used
> on anything else than Linux... and userland Linux tools (busybox as well
> as coreutils) indeed have printf. ;)
>
so far i remember is echo less portable than printf. that is the reason why we have
a bb_echo in test scripts. taht is the reason why i try to use printf more :)
beside that i do not use mdev, so i can not propperly test the script.
how makes sure that the check goes into git ?
re,
wh
More information about the busybox
mailing list