Re: Of removable devices

From: Francis GALIEGUE (francis@mandrakesoft.com)
Date: Tue Feb 15 2000 - 12:30:12 EST


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/



This archive was generated by hypermail 2b29 : Tue Feb 15 2000 - 21:00:30 EST