From: Thadeu Lima de Souza Cascardo Date: Mon, 7 Dec 2009 04:59:53 +0000 (-0200) Subject: File structures. X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fkernel%2Fold_slides%2F.git;a=commitdiff_plain;h=809779dea04b4be4819cd5edcf8f0250f48b0c9f File structures. --- diff --git a/02.vfs/02.vfs.xml b/02.vfs/02.vfs.xml index ed6f72c..e5bda1c 100644 --- a/02.vfs/02.vfs.xml +++ b/02.vfs/02.vfs.xml @@ -36,4 +36,66 @@ and struct inode. + +File Operations + + +open + + +release + + +read + + +write + + +ioctl + + +llseek + + +poll + + +mmap + + +many others + + + + + +Opened File + + +f\_mode + + +f\_flags + + +f\_pos + + +f\_op + + +private\_data + + + + + +Filesystem File: inode + +The inode is a representation of the file as in its filesystem, including its +major/minor numbers and pointers to the corresponding device representation. + + +