Looking for code segment that reads file information from the OS

Gerald (Jerry) Carter jerry at samba.org
Mon May 12 14:17:14 GMT 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Matt,

> At any rate, I was hoping that someone could point me to 
> the section of the code where file information is read off
> of the disk, either via a system call or a file() structure.
> I want to put a breakpoint in there to see if I can figure
> out what's going on.

All file operations go through the VFS layer.  So look at the
default vfs_read() op.





cheers, jerry
- --
=====================================================================
Samba                                    ------- http://www.samba.org
Likewise Software          ---------  http://www.likewisesoftware.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIKFFqIR7qMdg1EfYRAoELAKDm7nofuFVgS67mjEWnoA6taY2qCACgvTCD
aBd6cJkVH5jyppXNuT2epzo=
=0r9n
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list