[PATCH] Verbose switch for cp, install, mkdir, mv, rm, and mkdir commands

Igor Živković contact at igor-zivkovic.from.hr
Fri May 16 06:24:13 UTC 2014


On 05/15/2014 09:19 PM, Tito wrote:
> On Thursday 15 May 2014 15:48:27 Igor Živković wrote:
>> Hi,
>>
>> this is updated and probably the last version of my verbose patch. It
>> adds the verbose switch to install applet and fixes a bug with mkdir in
>> the previous patch.
>>
>>
> Hi,
> couldn't this be made optional and depending on CONFIG_DESKTOP
> or another new config option so that it is optimized away by the compiler
> if the flag is not set, e.g.:
>
>                 if (ENABLE_DESKTOP && (flags & FILEUTILS_VERBOSE)) {
>                         printf("removed directory: `%s'\n", path);
>                 }


I guess it could if there is interest to include it in BusyBox. But I 
was just hoping to get some feedback.

-- 
Igor Živković
http://www.slashtime.net/


More information about the busybox mailing list