Re: mount call trace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 9/23/05, Vivek Bhandwalkar <vivek.bhandwalkar@xxxxxxxxx> wrote:
> Can anybody explain how exactly  the mount procedure takes place (in detail)
> please tell me the step by step procedure
>

You can use " strace " to trace the mount call ..............

mount call actually did sys_mount system-call, sys_mount did some
tasks and then calls the get_sb fucntion of the file-system to get the
superblock (which has the file-system information with the call back
functions to work on files/directories and so on) ....  After that
mounting takes place ...

You can see sys_mount in fs/namespace.c


--
Fawad Lateef

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux