From mboxrd@z Thu Jan 1 00:00:00 1970 From: j.neuschaefer@gmx.net (Jonathan =?utf-8?Q?Neusch=C3=A4fer?=) Date: Fri, 4 Jan 2013 19:22:22 +0100 Subject: trace MKFS In-Reply-To: References: Message-ID: <20130104182222.GA3019@debian.debian> To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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