How to trace the Linux command rm
Posted on 2011-09-22
Would like to trace the command "rm" or "cp" as deep as possible. For example,
Remove a file file.txt from USB stick.
What kind of operations are involved in this removal? As a user we know when we issue "rm", the file will be removed. OS kernel takes care of that.
Can any gurus shed some light on how the kernel does it, any code for it, or any links talking about it?