trace MKFS

Jonathan Neuschäfer j.neuschaefer at gmx.net
Fri Jan 4 13:22:22 EST 2013


On Fri, Jan 04, 2013 at 08:42:21PM +0530, KASHISH BHATIA wrote:
> Hi,
> 
> I want to trace the overall flow of mkfs inside linux kernel. Specifically
> want to know which
> kernel fs data structures are affected when we run "mkfs" ?
> What all "mkfs" command writes on the block device when we run the command?
> Are there any good documents which can explain the same?

To trace the syscalls a program issues, I recommend using strace.

Thanks,
Jonathan Neuschäfer



More information about the Kernelnewbies mailing list