lkml.org 
[lkml]   [2000]   [Feb]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Of removable devices
From
Date
Alexander Viro <viro@math.psu.edu> writes:

> >
> > A file is backlinked to the fs superblock, isn't it?
>
> Not. _Please_, read any introductory text on UNIX. Seriously. Files on
> UNIX are nameless. Directories contain pairs (name, reference to file).
[...]

I KNOW all this. I'm no beginner with Unix! What I see is that:

- task_struct contains files_struct
- files_struct contains struct file **
- struct file contains dentry *f_dentry
- dentry contains struct super_block *d_sb...

Therefore, with a file, you get a reference to a superblock...

--
fg

# rm *;o
o: command not found

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.282 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site