Welcome to the Linux Foundation Forum!

file system info and filesystem information



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?

Comments

  • Posts: 647
    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 ;)
  • Posts: 7
    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.

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training