Linux Kernal VFS
文章平均质量分 92
feilongzzz
这个作者很懒,什么都没留下…
展开
-
Linux Kernel VFS-What‘s next?
A Summary原创 2021-12-27 04:09:15 · 319 阅读 · 0 评论 -
Linux Kernel VFS-Read(3)
Read is done right here.原创 2021-12-26 18:09:32 · 575 阅读 · 0 评论 -
Linux Kernel VFS-Read(2)
I choose the cover pic just because it's silly and got read in it.In this part, we'll talk about how read in vfs is connected to that in file systems.原创 2021-12-25 18:32:00 · 727 阅读 · 0 评论 -
Linux Kernal VFS-System Call:Read
After openning a file, it's time to read or write.原创 2021-12-16 23:59:12 · 120 阅读 · 0 评论 -
Linux Kernal VFS-Open(4)
If not finished however, we know that name now holds a component in the middle slashed of the pathname.原创 2021-12-07 23:58:45 · 124 阅读 · 0 评论 -
Linux Kernal VFS-Open(3)
path_openat()Path_openat() is function that search for files by path in order to fill a file struct.The procedure for searching is based on a structure we disscussed before, which is struct nameidata.Nameidata is a temporary variable and it not only save原创 2021-11-30 23:58:36 · 726 阅读 · 0 评论 -
Linux Kernal VFS-Open()(2)
Now we've known what fd is, how does fd function remains unseen.Start with function open(), we shall discuss about how actually those operations to files finally happens.#i原创 2021-11-25 23:58:58 · 499 阅读 · 0 评论 -
Linux Kernal VFS-System Call open()
2021SC@SDUSCSystem calls and structsFrom this blog that is also the 6th we start to discuss about the operations to structures we mentioned about beforesuch as file struct, inode, dentry as well as superblocks.Back to the first blog we analyse the mai.原创 2021-11-15 23:50:18 · 285 阅读 · 0 评论 -
Linux Kernal VFS-Struct file
Discussed about inode and dentry, it finally comes to struct file, although it's not like a real file we've talked about.Actually, inodes are related to the real file and the kernal use it to operate with all files in need, not struct file.For file system原创 2021-11-04 17:13:14 · 104 阅读 · 0 评论 -
Linux Kernal FS-inode&files(4)
2021SC@SDUSCinode(2)We've talked about inodes, so what are we doing here.After reading some blogs from several great coders, I finally notice that I am far from ultimately understand such structure, so I would like to start with inodes again about some原创 2021-10-28 22:50:36 · 102 阅读 · 0 评论 -
Linux Kernal FS-inode&dentry(2)
2021SC@SDUSCInodeWhile superblocks stand for each file systems,Inodes stand for every file and each file has an inode which include all information for kernal to operate those files.Be aware that even every file being used has an inode block to operate原创 2021-10-19 23:46:01 · 135 阅读 · 0 评论 -
Linux Kernal FS-SuperBlock(1)
The first part of the artical has nothing to do with our topic, please pay attention.Trying to start the topic of file system in Linux kernal is difficult for me.So It's better to start with a story.Also I have to announce that I am not writting a techni原创 2021-10-10 23:54:52 · 163 阅读 · 0 评论 -
Linux Kernal File System-Get Started
2021SC@SDUSCFile System--We know its there, but how can we get any closer to it?Without file system, everything fade in the shadow.by feilongz.Linux OS were considered to be the most popular OS in the world while plenty of devices and systems run w原创 2021-09-30 05:00:11 · 127 阅读 · 0 评论