LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 12-01-2006, 06:16 AM   #1
drimades
Member
 
Registered: Jun 2006
Posts: 60

Rep: Reputation: 15
Inodes and about


What information about the files can be found in a inode? Is there a place where the system with an information story about the files (access time, modify time, ecc.)?
 
Old 12-01-2006, 08:52 AM   #2
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by drimades
What information about the files can be found in a inode? Is there a place where the system with an information story about the files (access time, modify time, ecc.)?
This of course depends on the filesystem....In general, I think inodes are simply pointers to disk addresses where the actual data is.
 
Old 12-03-2006, 04:17 PM   #3
makyo
Member
 
Registered: Aug 2006
Location: Saint Paul, MN, USA
Distribution: {Free,Open}BSD, CentOS, Debian, Fedora, Solaris, SuSE
Posts: 718

Rep: Reputation: 72
Hi.

In a very real way, the inode is the file. As pixellany wrote, there are pointers to the information that is the content of the file, pointers to other structures for large files, and also all of the administrative information about the file.

See http://en.wikipedia.org/wiki/Inode for a good overview, and man stat for a control statement to display much of the information ... cheers, makyo
 
Old 12-04-2006, 07:49 AM   #4
philix
Member
 
Registered: Sep 2005
Location: India
Distribution: Redhat Debian
Posts: 30

Rep: Reputation: 15
Hi Drimades

File type (executable, block special etc)
Permissions (read, write etc)
Owner
Group
File Size
File access, change and modification time
File deletion time
Number of links (soft/hard)
Extended attribute (immutability)
Access Control List (ACLs)

The above information is found in the Inodes

Philix
 
Old 12-04-2006, 09:10 AM   #5
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728Reputation: 728
Quote:
Originally Posted by philix
Hi Drimades

File type (executable, block special etc)
Permissions (read, write etc)
Owner
Group
File Size
File access, change and modification time
File deletion time
Number of links (soft/hard)
Extended attribute (immutability)
Access Control List (ACLs)

The above information is found in the Inodes

Philix
Hmmmm---I think there also needs to be a pointer to the actual data..?
Maybe we need a tutorial on how file systems work...
 
Old 12-04-2006, 09:36 AM   #6
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 63
It depends on the filesystem type.

You should be look in the kernel Documentation directory for filesystems. For example, the ext2 filesystem file has this to say about inodes.

For the ultimate definition, you should go to the code. There is no better authority.
 
  


Reply

Tags
inode


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
what is inodes? Paxmaster Linux - General 4 06-20-2005 05:53 AM
Inodes bambolin Linux - Newbie 3 04-24-2005 02:17 PM
inodes wolferd1 Linux - Newbie 1 03-12-2005 10:28 PM
Out of Inodes tmiles Linux - Newbie 4 02-06-2005 08:35 PM
Inodes used up wolferd1 Linux - General 2 02-04-2005 04:22 PM


All times are GMT -5. The time now is 09:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration