rm -rf just deletes files. That command is always safe. Formatting creates new file system, it can be dangerous.
Thanks, googled it as well. "rm -rf" is similar to "delete_recursive". But I always do "format" command in updater-script, which I think, correct me if I'm wrong is similar to the format function in recovery wherein you have to set the type of file system because this command invokes "mkfs".
Not enough thanked posts in this thread to display.
TRENDING IN THEMER...
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality. Are you a developer?