Linux.com

Home Linux Community Forums Programming and Development Kernel Development file system info and filesystem information

file system info and filesystem information

Link to this post 13 Jun 10

Hi, re: file system info and filesystem information When I browse the struct task_struct, there are 3 similar fields. . .

//1. file system info int link_count, total_link_count; . . . //2. filesystem information struct fs_struct *fs; . . . //3. open file information struct files_struct *files;

Anyone know the differences?

Link to this post 14 Jun 10

Well, I don't really know the difference but... aren't the names explanatory by themselves?


//1. file system info
int link_count, total_link_count;

File of information related to the system

//2. filesystem information
struct fs_struct *fs;

What's the doubt here? The struct holds the information of the filesystem
[/quote]

//3. open file information
struct files_struct *files;

Struct with information of a particular file

Although I repeat: I don't know it, just playing around with the comments ;)

Link to this post 20 Jun 10

Anything you want to know about the kernel is here: http://www.linuxfoundation.org/

They maintain the kernel, support Linus Torvalds so he can devote full time work on the kernel. You have to find info by searching.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board